Contents
Class ConnectedBlockShape
java.lang.Object
com.hypixel.hytale.protocol.ConnectedBlockShape
- Direct Known Subclasses:
BlockTypeConnectedBlockShape, TagPatternConnectedBlockShape, TemplatedConnectedBlockShape
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intintintabstract intserialize(MemorySegment mem, int offset) intserializeWithTypeId(MemorySegment mem, int offset) static ConnectedBlockShapetoObject(MemorySegment mem) static ConnectedBlockShapetoObject(MemorySegment mem, int offset) static ConnectedBlockShapetoObject(MemorySegment mem, int offset, ReadCursor cursor)
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
faceTags
-
relativeRotationIndex
public int relativeRotationIndex
-
-
Constructor Details
-
ConnectedBlockShape
public ConnectedBlockShape()
-
-
Method Details
-
toObject
-
toObject
-
toObject
public static ConnectedBlockShape toObject(MemorySegment mem, int offset, @Nullable ReadCursor cursor) -
getTypeId
public int getTypeId() -
serialize
-
computeSize
public abstract int computeSize() -
serializeWithTypeId
-
computeSizeWithTypeId
public int computeSizeWithTypeId()
-