Interface PrefabBuffer.BlockMaskConstants
- Enclosing class:
PrefabBuffer
public static interface PrefabBuffer.BlockMaskConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic intgetBlockBytes(int mask) static intgetBlockMask(int blockBytes, int fluidBytes, boolean chance, int offsetBytes, Holder<ChunkStore> holder, byte supportValue, int rotation, int filler) static intgetFluidBytes(int mask) static intgetOffsetBytes(int mask) static intgetSkipBytes(int mask) static intgetSupportValue(int mask) static booleanhasChance(int mask) static booleanhasComponents(int mask) static booleanhasFiller(int mask) static booleanhasRotation(int mask)
-
Field Details
-
ID_IS_BYTE
static final int ID_IS_BYTE- See Also:
-
ID_IS_SHORT
static final int ID_IS_SHORT- See Also:
-
ID_IS_INT
static final int ID_IS_INT- See Also:
-
ID_MASK
static final int ID_MASK- See Also:
-
HAS_CHANCE
static final int HAS_CHANCE- See Also:
-
OFFSET_IS_BYTE
static final int OFFSET_IS_BYTE- See Also:
-
OFFSET_IS_SHORT
static final int OFFSET_IS_SHORT- See Also:
-
OFFSET_IS_INT
static final int OFFSET_IS_INT- See Also:
-
OFFSET_MASK
static final int OFFSET_MASK- See Also:
-
HAS_COMPONENTS
static final int HAS_COMPONENTS- See Also:
-
FLUID_IS_BYTE
static final int FLUID_IS_BYTE- See Also:
-
FLUID_IS_SHORT
static final int FLUID_IS_SHORT- See Also:
-
FLUID_IS_INT
static final int FLUID_IS_INT- See Also:
-
FLUID_MASK
static final int FLUID_MASK- See Also:
-
SUPPORT_MASK
static final int SUPPORT_MASK- See Also:
-
SUPPORT_OFFSET
static final int SUPPORT_OFFSET- See Also:
-
HAS_FILLER
static final int HAS_FILLER- See Also:
-
HAS_ROTATION
static final int HAS_ROTATION- See Also:
-
-
Method Details
-
getBlockMask
static int getBlockMask(int blockBytes, int fluidBytes, boolean chance, int offsetBytes, @Nullable Holder<ChunkStore> holder, byte supportValue, int rotation, int filler) -
getSkipBytes
static int getSkipBytes(int mask) -
hasChance
static boolean hasChance(int mask) -
hasFiller
static boolean hasFiller(int mask) -
hasRotation
static boolean hasRotation(int mask) -
getBlockBytes
static int getBlockBytes(int mask) -
getOffsetBytes
static int getOffsetBytes(int mask) -
getFluidBytes
static int getFluidBytes(int mask) -
getSupportValue
static int getSupportValue(int mask) -
hasComponents
static boolean hasComponents(int mask)
-