Class BlockMask
java.lang.Object
com.hypixel.hytale.server.core.prefab.selection.mask.BlockMask
- Direct Known Subclasses:
MultiBlockMask
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final BlockMaskstatic final Stringprivate final BlockFilter[]private booleanstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockMaskprivate static BlockMaskgroupFilters(BlockFilter[] inputFilters) booleanisExcluded(ChunkAccessor accessor, int x, int y, int z, Vector3i min, Vector3i max, int blockId) booleanisExcluded(ChunkAccessor accessor, int x, int y, int z, Vector3i min, Vector3i max, int blockId, int fluidId) booleanprotected static StringjoinElements(String separator, Object[] elements) static BlockMaskstatic BlockMaskvoidsetInverted(boolean inverted) toString()withOptions(BlockFilter.FilterType filterType, boolean inverted)
-
Field Details
-
EMPTY
-
CODEC
-
MASK_SEPARATOR
- See Also:
-
ALT_MASK_SEPARATOR
- See Also:
-
EMPTY_MASK_CHARACTER
- See Also:
-
filters
-
inverted
private boolean inverted
-
-
Constructor Details
-
BlockMask
-
-
Method Details
-
withOptions
-
getFilters
-
setInverted
public void setInverted(boolean inverted) -
isInverted
public boolean isInverted() -
isExcluded
public boolean isExcluded(@Nonnull ChunkAccessor accessor, int x, int y, int z, Vector3i min, Vector3i max, int blockId) -
isExcluded
public boolean isExcluded(@Nonnull ChunkAccessor accessor, int x, int y, int z, Vector3i min, Vector3i max, int blockId, int fluidId) -
toString
-
informativeToString
-
joinElements
-
parse
-
parse
-
combine
-
groupFilters
-