Package net.minecraft.world.phys.shapes
Class BitSetDiscreteVoxelShape
java.lang.Object
net.minecraft.world.phys.shapes.DiscreteVoxelShape
net.minecraft.world.phys.shapes.BitSetDiscreteVoxelShape
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
DiscreteVoxelShape.IntFaceConsumer, DiscreteVoxelShape.IntLineConsumer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BitSet
private int
private int
private int
private int
private int
private int
Fields inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
xSize, ySize, zSize
-
Constructor Summary
ConstructorDescriptionBitSetDiscreteVoxelShape
(int p_82588_, int p_82589_, int p_82590_) BitSetDiscreteVoxelShape
(DiscreteVoxelShape p_82602_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
clearZStrip
(int p_165982_, int p_165983_, int p_165984_, int p_165985_) void
fill
(int p_165987_, int p_165988_, int p_165989_) private void
fillUpdateBounds
(int p_165943_, int p_165944_, int p_165945_, boolean p_165946_) int
firstFull
(Direction.Axis p_82674_) protected static void
forAllBoxes
(DiscreteVoxelShape p_165964_, DiscreteVoxelShape.IntLineConsumer p_165965_, boolean p_165966_) protected int
getIndex
(int p_82605_, int p_82606_, int p_82607_) boolean
isEmpty()
boolean
isFull
(int p_82676_, int p_82677_, int p_82678_) boolean
isInterior
(int p_327963_, int p_332610_, int p_332051_) private boolean
isXZRectangleFull
(int p_165927_, int p_165928_, int p_165929_, int p_165930_, int p_165931_) private boolean
isZStripFull
(int p_82609_, int p_82610_, int p_82611_, int p_82612_) (package private) static BitSetDiscreteVoxelShape
join
(DiscreteVoxelShape p_82642_, DiscreteVoxelShape p_82643_, IndexMerger p_82644_, IndexMerger p_82645_, IndexMerger p_82646_, BooleanOp p_82647_) int
lastFull
(Direction.Axis p_82680_) static BitSetDiscreteVoxelShape
withFilledBounds
(int p_165933_, int p_165934_, int p_165935_, int p_165936_, int p_165937_, int p_165938_, int p_165939_, int p_165940_, int p_165941_) Methods inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
firstFull, forAllBoxes, forAllEdges, forAllFaces, getSize, getXSize, getYSize, getZSize, isFull, isFullWide, isFullWide, lastFull
-
Field Details
-
storage
-
xMin
private int xMin -
yMin
private int yMin -
zMin
private int zMin -
xMax
private int xMax -
yMax
private int yMax -
zMax
private int zMax
-
-
Constructor Details
-
BitSetDiscreteVoxelShape
public BitSetDiscreteVoxelShape(int p_82588_, int p_82589_, int p_82590_) -
BitSetDiscreteVoxelShape
-
-
Method Details
-
withFilledBounds
public static BitSetDiscreteVoxelShape withFilledBounds(int p_165933_, int p_165934_, int p_165935_, int p_165936_, int p_165937_, int p_165938_, int p_165939_, int p_165940_, int p_165941_) -
getIndex
protected int getIndex(int p_82605_, int p_82606_, int p_82607_) -
isFull
public boolean isFull(int p_82676_, int p_82677_, int p_82678_) - Specified by:
isFull
in classDiscreteVoxelShape
-
fillUpdateBounds
private void fillUpdateBounds(int p_165943_, int p_165944_, int p_165945_, boolean p_165946_) -
fill
public void fill(int p_165987_, int p_165988_, int p_165989_) - Specified by:
fill
in classDiscreteVoxelShape
-
isEmpty
public boolean isEmpty()- Overrides:
isEmpty
in classDiscreteVoxelShape
-
firstFull
- Specified by:
firstFull
in classDiscreteVoxelShape
-
lastFull
- Specified by:
lastFull
in classDiscreteVoxelShape
-
join
static BitSetDiscreteVoxelShape join(DiscreteVoxelShape p_82642_, DiscreteVoxelShape p_82643_, IndexMerger p_82644_, IndexMerger p_82645_, IndexMerger p_82646_, BooleanOp p_82647_) -
forAllBoxes
protected static void forAllBoxes(DiscreteVoxelShape p_165964_, DiscreteVoxelShape.IntLineConsumer p_165965_, boolean p_165966_) -
isZStripFull
private boolean isZStripFull(int p_82609_, int p_82610_, int p_82611_, int p_82612_) -
isXZRectangleFull
private boolean isXZRectangleFull(int p_165927_, int p_165928_, int p_165929_, int p_165930_, int p_165931_) -
clearZStrip
private void clearZStrip(int p_165982_, int p_165983_, int p_165984_, int p_165985_) -
isInterior
public boolean isInterior(int p_327963_, int p_332610_, int p_332051_)
-