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

    Constructors
    Constructor
    Description
    Part(Collection<net.minecraft.world.phys.shapes.DiscreteVoxelShape> entries)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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>
     
    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

      public Part(Collection<net.minecraft.world.phys.shapes.DiscreteVoxelShape> entries)
  • Method Details

    • iterator

      public Iterator<net.minecraft.world.phys.shapes.DiscreteVoxelShape> iterator()
      Specified by:
      iterator in interface Iterable<net.minecraft.world.phys.shapes.DiscreteVoxelShape>
    • isFullWide

      public boolean isFullWide(int x, int y, int z)
      Overrides:
      isFullWide in class net.minecraft.world.phys.shapes.DiscreteVoxelShape
    • isFull

      public boolean isFull(int x, int y, int z)
      Specified by:
      isFull in class net.minecraft.world.phys.shapes.DiscreteVoxelShape
    • fill

      public void fill(int x, int y, int z)
      Specified by:
      fill in class net.minecraft.world.phys.shapes.DiscreteVoxelShape
    • firstFull

      public int firstFull(net.minecraft.core.Direction.Axis axis)
      Specified by:
      firstFull in class net.minecraft.world.phys.shapes.DiscreteVoxelShape
    • lastFull

      public int lastFull(net.minecraft.core.Direction.Axis axis)
      Specified by:
      lastFull in class net.minecraft.world.phys.shapes.DiscreteVoxelShape
    • getSize

      public int getSize(net.minecraft.core.Direction.Axis axis)
      Overrides:
      getSize in class net.minecraft.world.phys.shapes.DiscreteVoxelShape
    • forAllBoxes

      public void forAllBoxes(net.minecraft.world.phys.shapes.DiscreteVoxelShape.IntLineConsumer consumer, boolean p_197831_2_)
      Overrides:
      forAllBoxes in class net.minecraft.world.phys.shapes.DiscreteVoxelShape