Class VoxelShapeComponents.Part
java.lang.Object
net.minecraft.world.phys.shapes.DiscreteVoxelShape
org.cyclops.integrateddynamics.core.block.VoxelShapeComponents.Part
- All Implemented Interfaces:
Iterable<net.minecraft.world.phys.shapes.DiscreteVoxelShape>
- Enclosing class:
VoxelShapeComponents
public static class VoxelShapeComponents.Part
extends net.minecraft.world.phys.shapes.DiscreteVoxelShape
implements Iterable<net.minecraft.world.phys.shapes.DiscreteVoxelShape>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
net.minecraft.world.phys.shapes.DiscreteVoxelShape.IntFaceConsumer, net.minecraft.world.phys.shapes.DiscreteVoxelShape.IntLineConsumer -
Field Summary
Fields inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
xSize, ySize, zSize -
Constructor Summary
ConstructorsConstructorDescriptionPart(Collection<net.minecraft.world.phys.shapes.DiscreteVoxelShape> entries) -
Method Summary
Modifier and TypeMethodDescriptionvoidfill(int x, int y, int z) intfirstFull(net.minecraft.core.Direction.Axis axis) voidforAllBoxes(net.minecraft.world.phys.shapes.DiscreteVoxelShape.IntLineConsumer consumer, boolean p_197831_2_) intgetSize(net.minecraft.core.Direction.Axis axis) booleanisFull(int x, int y, int z) booleanisFullWide(int x, int y, int z) Iterator<net.minecraft.world.phys.shapes.DiscreteVoxelShape> iterator()intlastFull(net.minecraft.core.Direction.Axis axis) Methods inherited from class net.minecraft.world.phys.shapes.DiscreteVoxelShape
firstFull, forAllEdges, forAllFaces, getXSize, getYSize, getZSize, isEmpty, isFull, isFullWide, lastFull, rotateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Part
-
-
Method Details
-
iterator
-
isFullWide
public boolean isFullWide(int x, int y, int z) - Overrides:
isFullWidein classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
isFull
public boolean isFull(int x, int y, int z) - Specified by:
isFullin classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
fill
public void fill(int x, int y, int z) - Specified by:
fillin classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
firstFull
public int firstFull(net.minecraft.core.Direction.Axis axis) - Specified by:
firstFullin classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
lastFull
public int lastFull(net.minecraft.core.Direction.Axis axis) - Specified by:
lastFullin classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
getSize
public int getSize(net.minecraft.core.Direction.Axis axis) - Overrides:
getSizein classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
forAllBoxes
public void forAllBoxes(net.minecraft.world.phys.shapes.DiscreteVoxelShape.IntLineConsumer consumer, boolean p_197831_2_) - Overrides:
forAllBoxesin classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-