Class BinaryOperatorMask
java.lang.Object
baritone.api.schematic.mask.AbstractMask
baritone.api.schematic.mask.operator.BinaryOperatorMask
- All Implemented Interfaces:
Mask
- Author:
- Brady
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanpartOfMask(int x, int y, int z, net.minecraft.world.level.block.state.BlockState currentState) Methods inherited from class baritone.api.schematic.mask.AbstractMask
heightY, lengthZ, widthXMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface baritone.api.schematic.mask.Mask
intersection, not, union, xor
-
Constructor Details
-
BinaryOperatorMask
-
-
Method Details
-
partOfMask
public boolean partOfMask(int x, int y, int z, net.minecraft.world.level.block.state.BlockState currentState) - Parameters:
x- The relative x position of the blocky- The relative y position of the blockz- The relative z position of the blockcurrentState- The current state of that block in the world, may benull- Returns:
- Whether the given position is included in this mask
-