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 SummaryNested classes/interfaces inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShapeDiscreteVoxelShape.IntFaceConsumer, DiscreteVoxelShape.IntLineConsumer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BitSetprivate intprivate intprivate intprivate intprivate intprivate intFields inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShapexSize, ySize, zSize
- 
Constructor SummaryConstructorsConstructorDescriptionBitSetDiscreteVoxelShape(int p_82588_, int p_82589_, int p_82590_) BitSetDiscreteVoxelShape(DiscreteVoxelShape p_82602_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidclearZStrip(int p_165982_, int p_165983_, int p_165984_, int p_165985_) voidfill(int p_165987_, int p_165988_, int p_165989_) private voidfillUpdateBounds(int p_165943_, int p_165944_, int p_165945_, boolean p_165946_) intfirstFull(Direction.Axis p_82674_) protected static voidforAllBoxes(DiscreteVoxelShape p_165964_, DiscreteVoxelShape.IntLineConsumer p_165965_, boolean p_165966_) protected intgetIndex(int p_82605_, int p_82606_, int p_82607_) booleanisEmpty()booleanisFull(int p_82676_, int p_82677_, int p_82678_) private booleanisXZRectangleFull(int p_165927_, int p_165928_, int p_165929_, int p_165930_, int p_165931_) private booleanisZStripFull(int p_82609_, int p_82610_, int p_82611_, int p_82612_) (package private) static BitSetDiscreteVoxelShapejoin(DiscreteVoxelShape p_82642_, DiscreteVoxelShape p_82643_, IndexMerger p_82644_, IndexMerger p_82645_, IndexMerger p_82646_, BooleanOp p_82647_) intlastFull(Direction.Axis p_82680_) static BitSetDiscreteVoxelShapewithFilledBounds(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.DiscreteVoxelShapefirstFull, forAllBoxes, forAllEdges, forAllFaces, getSize, getXSize, getYSize, getZSize, isFull, isFullWide, isFullWide, lastFull
- 
Field Details- 
storage
- 
xMinprivate int xMin
- 
yMinprivate int yMin
- 
zMinprivate int zMin
- 
xMaxprivate int xMax
- 
yMaxprivate int yMax
- 
zMaxprivate int zMax
 
- 
- 
Constructor Details- 
BitSetDiscreteVoxelShapepublic BitSetDiscreteVoxelShape(int p_82588_, int p_82589_, int p_82590_) 
- 
BitSetDiscreteVoxelShape
 
- 
- 
Method Details- 
withFilledBoundspublic 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_) 
- 
getIndexprotected int getIndex(int p_82605_, int p_82606_, int p_82607_) 
- 
isFullpublic boolean isFull(int p_82676_, int p_82677_, int p_82678_) - Specified by:
- isFullin class- DiscreteVoxelShape
 
- 
fillUpdateBoundsprivate void fillUpdateBounds(int p_165943_, int p_165944_, int p_165945_, boolean p_165946_) 
- 
fillpublic void fill(int p_165987_, int p_165988_, int p_165989_) - Specified by:
- fillin class- DiscreteVoxelShape
 
- 
isEmptypublic boolean isEmpty()- Overrides:
- isEmptyin class- DiscreteVoxelShape
 
- 
firstFull- Specified by:
- firstFullin class- DiscreteVoxelShape
 
- 
lastFull- Specified by:
- lastFullin class- DiscreteVoxelShape
 
- 
joinstatic BitSetDiscreteVoxelShape join(DiscreteVoxelShape p_82642_, DiscreteVoxelShape p_82643_, IndexMerger p_82644_, IndexMerger p_82645_, IndexMerger p_82646_, BooleanOp p_82647_) 
- 
forAllBoxesprotected static void forAllBoxes(DiscreteVoxelShape p_165964_, DiscreteVoxelShape.IntLineConsumer p_165965_, boolean p_165966_) 
- 
isZStripFullprivate boolean isZStripFull(int p_82609_, int p_82610_, int p_82611_, int p_82612_) 
- 
isXZRectangleFullprivate boolean isXZRectangleFull(int p_165927_, int p_165928_, int p_165929_, int p_165930_, int p_165931_) 
- 
clearZStripprivate void clearZStrip(int p_165982_, int p_165983_, int p_165984_, int p_165985_) 
 
-