Package com.hypixel.hytale.protocol
Class RequiredBlockFaceSupport
java.lang.Object
com.hypixel.hytale.protocol.RequiredBlockFaceSupport
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintVector3i[]static final intintstatic final intstatic final intbooleanintstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionRequiredBlockFaceSupport(String faceType, String selfFaceType, String blockSetId, int blockTypeId, int tagIndex, int fluidId, SupportMatch support, SupportMatch matchSelf, boolean allowSupportPropagation, boolean rotate, Vector3i[] filler) -
Method Summary
Modifier and TypeMethodDescriptionclone()static intcomputeBytesConsumed(io.netty.buffer.ByteBuf buf, int offset) intstatic RequiredBlockFaceSupportdeserialize(io.netty.buffer.ByteBuf buf, int offset) booleaninthashCode()voidserialize(io.netty.buffer.ByteBuf buf) static ValidationResultvalidateStructure(io.netty.buffer.ByteBuf buffer, int offset)
-
Field Details
-
NULLABLE_BIT_FIELD_SIZE
public static final int NULLABLE_BIT_FIELD_SIZE- See Also:
-
FIXED_BLOCK_SIZE
public static final int FIXED_BLOCK_SIZE- See Also:
-
VARIABLE_FIELD_COUNT
public static final int VARIABLE_FIELD_COUNT- See Also:
-
VARIABLE_BLOCK_START
public static final int VARIABLE_BLOCK_START- See Also:
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
faceType
-
selfFaceType
-
blockSetId
-
blockTypeId
public int blockTypeId -
tagIndex
public int tagIndex -
fluidId
public int fluidId -
support
-
matchSelf
-
allowSupportPropagation
public boolean allowSupportPropagation -
rotate
public boolean rotate -
filler
-
-
Constructor Details
-
RequiredBlockFaceSupport
public RequiredBlockFaceSupport() -
RequiredBlockFaceSupport
public RequiredBlockFaceSupport(@Nullable String faceType, @Nullable String selfFaceType, @Nullable String blockSetId, int blockTypeId, int tagIndex, int fluidId, @Nonnull SupportMatch support, @Nonnull SupportMatch matchSelf, boolean allowSupportPropagation, boolean rotate, @Nullable Vector3i[] filler) -
RequiredBlockFaceSupport
-
-
Method Details
-
deserialize
@Nonnull public static RequiredBlockFaceSupport deserialize(@Nonnull io.netty.buffer.ByteBuf buf, int offset) -
computeBytesConsumed
public static int computeBytesConsumed(@Nonnull io.netty.buffer.ByteBuf buf, int offset) -
serialize
public void serialize(@Nonnull io.netty.buffer.ByteBuf buf) -
computeSize
public int computeSize() -
validateStructure
public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset) -
clone
-
equals
-
hashCode
public int hashCode()
-