Contents
Class MultiBlockMask
java.lang.Object
com.hypixel.hytale.server.core.prefab.selection.mask.BlockMask
com.hypixel.hytale.server.core.prefab.selection.mask.MultiBlockMask
-
Field Summary
Fields inherited from class BlockMask
ALT_MASK_SEPARATOR, CODEC, EMPTY, EMPTY_MASK_CHARACTER, MASK_SEPARATOR, OR_MASK_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisExcluded(BlockReader accessor, int x, int y, int z, org.joml.Vector3i selectionMin, org.joml.Vector3i selectionMax, int blockId) booleanisExcluded(BlockReader accessor, int x, int y, int z, org.joml.Vector3i selectionMin, org.joml.Vector3i selectionMax, int blockId, int fluidId) Tests whether the mask excludes the given position.toString()Methods inherited from class BlockMask
combine, getFilters, hasInvalidBlocks, isInverted, parse, parse, setInverted, withOptions
-
Constructor Details
-
MultiBlockMask
-
-
Method Details
-
isExcluded
public boolean isExcluded(@Nonnull BlockReader accessor, int x, int y, int z, @Nullable org.joml.Vector3i selectionMin, @Nullable org.joml.Vector3i selectionMax, int blockId) - Overrides:
isExcludedin classBlockMask
-
isExcluded
public boolean isExcluded(@Nonnull BlockReader accessor, int x, int y, int z, @Nullable org.joml.Vector3i selectionMin, @Nullable org.joml.Vector3i selectionMax, int blockId, int fluidId) Description copied from class:BlockMaskTests whether the mask excludes the given position. TheselectionMinandselectionMaxbounds are the area that the#filter matches against, so callers must pass the player's selection rather than the area their own operation happens to cover. Pass null when there is no selection.- Overrides:
isExcludedin classBlockMask
-
toString
-
informativeToString
- Overrides:
informativeToStringin classBlockMask
-