Class SphereMask
java.lang.Object
baritone.api.schematic.mask.AbstractMask
baritone.api.schematic.mask.shape.SphereMask
- All Implemented Interfaces:
Mask,StaticMask
- Author:
- Brady
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanpartOfMask(int x, int y, int z) Determines if a given relative coordinate is included in this mask, without the need for the current block state.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
heightY, intersection, lengthZ, union, widthX, xorMethods inherited from interface baritone.api.schematic.mask.StaticMask
compute, intersection, not, partOfMask, union, xor
-
Constructor Details
-
SphereMask
-
-
Method Details
-
partOfMask
Description copied from interface:StaticMaskDetermines if a given relative coordinate is included in this mask, without the need for the current block state.- Specified by:
partOfMaskin interfaceStaticMask- Parameters:
x- The relative x position of the blocky- The relative y position of the blockz- The relative z position of the block- Returns:
- Whether the given position is included in this mask
-