Class ShapeConnectedBlockRule

java.lang.Object
com.hypixel.hytale.protocol.ConnectedBlockRule
com.hypixel.hytale.protocol.ShapeConnectedBlockRule

public class ShapeConnectedBlockRule extends ConnectedBlockRule
  • 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:
    • positionOffset

      @Nonnull public Vector3i positionOffset
    • shapeId

      @Nonnull public String shapeId
    • allowedRotations

      @Nullable public int[] allowedRotations
  • Constructor Details

    • ShapeConnectedBlockRule

      public ShapeConnectedBlockRule()
    • ShapeConnectedBlockRule

      public ShapeConnectedBlockRule(@Nonnull Vector3i positionOffset, @Nonnull String shapeId, @Nullable int[] allowedRotations)
    • ShapeConnectedBlockRule

      public ShapeConnectedBlockRule(@Nonnull ShapeConnectedBlockRule other)
  • Method Details