public class SelectionPrefabSerializer
Class SelectionPrefabSerializer. Provides selectionprefabserializer functionality for the Hytale server.
java.lang.Object > SelectionPrefabSerializer
Field Summary
versionValue
Field versionValue.
version
Field version.
worldVersion
Field worldVersion.
entityVersionValue
Field entityVersionValue.
entityVersion
Field entityVersion.
anchorX
Field anchorX.
anchorY
Field anchorY.
anchorZ
Field anchorZ.
selection
Field selection.
blockIdVersion
Field blockIdVersion.
obj
Field obj.
obj2
Field obj2.
blocksValue
Field blocksValue.
bsonArray
Field bsonArray.
innerObj
Field innerObj.
x
Field x.
y
Field y.
z
Field z.
result
Field result.
start
Field start.
start2
Field start2.
firstComma
Field firstComma.
secondComma
Field secondComma.
fillerX
Field fillerX.
fillerY
Field fillerY.
fillerZ
Field fillerZ.
roll
Field roll.
start3
Field start3.
endOfName
Field endOfName.
blockId
Field blockId.
stateValue
Field stateValue.
fluidsValue
Field fluidsValue.
bsonArray2
Field bsonArray2.
innerObj2
Field innerObj2.
x2
Field x2.
y2
Field y2.
z2
Field z2.
fluidName
Field fluidName.
fluidId
Field fluidId.
fluidLevel
Field fluidLevel.
entitiesValues
Field entitiesValues.
entities
Field entities.
bsonDocument
Field bsonDocument.
out
Field out.
contentOut
Field contentOut.
aDoc
Field aDoc.
bDoc
Field bDoc.
fluidContentOut
Field fluidContentOut.
aDoc2
Field aDoc2.
bDoc2
Field bDoc2.
entityTypeStr
Field entityTypeStr.
unknownComponents
Field unknownComponents.
entity
Field entity.
extraInto
Field extraInto.
type
Field type.
t
Field t.
holder
Field holder.
holder2
Field holder2.
Method Detail
SelectionPrefabSerializer
private
SelectionPrefabSerializer
()
Method SelectionPrefabSerializer.
deserialize
Method deserialize.
- Parameters:
@Nonnull final BsonDocumentdoc
readWorldVersion
?
readWorldVersion
(doc)
Method readWorldVersion.
- Parameters:
docdoc
if
else
if
(blockTypeStr.contains("|Deco")
Method if.
- Parameters:
blockTypeStr.contains("|Deco"blockTypeStr.contains("|Deco"
BsonInt32
new
BsonInt32
(8)
Method BsonInt32.
- Parameters:
88
BsonString
new
BsonString
(assetMap.getAsset(block.blockId()
Method BsonString.
- Parameters:
assetMap.getAsset(block.blockId(assetMap.getAsset(block.blockId(
legacyEntityDecode
Method legacyEntityDecode.
- Parameters:
@Nonnull final BsonDocumentdocumentfinal intversion
TempUnknownComponent
new
TempUnknownComponent
(document)
Method TempUnknownComponent.
- Parameters:
documentdocument
ExtraInfo
new
ExtraInfo
(version)
Method ExtraInfo.
- Parameters:
versionversion
legacyStateDecode
Method legacyStateDecode.
- Parameters:
@Nonnull final BsonDocumentdocument