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
ConstructorDescriptionPart
(Collection<net.minecraft.world.phys.shapes.DiscreteVoxelShape> entries) -
Method Summary
Modifier and TypeMethodDescriptionvoid
fill
(int x, int y, int z) int
firstFull
(net.minecraft.core.Direction.Axis axis) void
forAllBoxes
(net.minecraft.world.phys.shapes.DiscreteVoxelShape.IntLineConsumer consumer, boolean p_197831_2_) int
getSize
(net.minecraft.core.Direction.Axis axis) boolean
isFull
(int x, int y, int z) boolean
isFullWide
(int x, int y, int z) Iterator<net.minecraft.world.phys.shapes.DiscreteVoxelShape>
iterator()
int
lastFull
(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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
isFullWide
in classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
isFull
public boolean isFull(int x, int y, int z) - Specified by:
isFull
in classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
fill
public void fill(int x, int y, int z) - Specified by:
fill
in classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
firstFull
public int firstFull(net.minecraft.core.Direction.Axis axis) - Specified by:
firstFull
in classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
lastFull
public int lastFull(net.minecraft.core.Direction.Axis axis) - Specified by:
lastFull
in classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
getSize
public int getSize(net.minecraft.core.Direction.Axis axis) - Overrides:
getSize
in classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-
forAllBoxes
public void forAllBoxes(net.minecraft.world.phys.shapes.DiscreteVoxelShape.IntLineConsumer consumer, boolean p_197831_2_) - Overrides:
forAllBoxes
in classnet.minecraft.world.phys.shapes.DiscreteVoxelShape
-