Package baritone.api.schematic.mask
Interface Mask
- All Known Subinterfaces:
StaticMask
- All Known Implementing Classes:
AbstractMask,BinaryOperatorMask,BinaryOperatorMask.Static,CylinderMask,NotMask,NotMask.Static,SphereMask
public interface Mask
- Author:
- Brady
-
Method Summary
-
Method Details
-
partOfMask
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
-
widthX
int widthX() -
heightY
int heightY() -
lengthZ
int lengthZ() -
not
-
union
-
intersection
-
xor
-