classpublicPriority 3
BlockMask
com.hypixel.hytale.server.core.prefab.selection.mask.BlockMask
7
Methods
7
Public Methods
2
Fields
1
Constructors
Constants
StringALT_MASK_SEPARATOR= "
Codec<BlockMask>CODEC= new FunctionCodec<>(Codec.STRING, BlockMask::parse, BlockMask::toString)
BlockMaskEMPTY= new BlockMask(BlockFilter.EMPTY_ARRAY)
StringEMPTY_MASK_CHARACTER= "-"
StringMASK_SEPARATOR= ","
Constructors
public
BlockMask(BlockFilter[] filters)Methods
Public Methods (7)
public
BlockFilter[] getFilters()public
String informativeToString()@Nonnull
public
boolean isExcluded(ChunkAccessor accessor, int x, int y, int z, Vector3i min, Vector3i max, int blockId)public
boolean isExcluded(ChunkAccessor accessor, int x, int y, int z, Vector3i min, Vector3i max, int blockId, int fluidId)public
boolean isInverted()public
void setInverted(boolean inverted)public
String toString()@Nonnull@Override
Fields
Private/Package Fields (2)
private
BlockFilter[] filtersprivate
boolean inverted