Class PartRenderPosition

java.lang.Object
org.cyclops.integrateddynamics.api.part.PartRenderPosition

public class PartRenderPosition extends Object
Render position definition of a part.
  • Field Details

  • Constructor Details

    • PartRenderPosition

      public PartRenderPosition(float selectionDepthFactor, float depthFactor, float widthFactor, float heightFactor)
    • PartRenderPosition

      public PartRenderPosition(float selectionDepthFactor, float depthFactor, float widthFactor, float heightFactor, float widthFactorSide, float heightFactorSide)
  • Method Details

    • getDepthFactor

      public float getDepthFactor()
    • getWidthFactor

      public float getWidthFactor()
    • getHeightFactor

      public float getHeightFactor()
    • getSidedCableBoundingBox

      public net.minecraft.world.phys.shapes.VoxelShape getSidedCableBoundingBox(net.minecraft.core.Direction side)
    • getBoundingBox

      public net.minecraft.world.phys.shapes.VoxelShape getBoundingBox(net.minecraft.core.Direction side, net.minecraft.world.phys.shapes.CollisionContext context)
    • getBoundingBox

      @Deprecated public net.minecraft.world.phys.shapes.VoxelShape getBoundingBox(net.minecraft.core.Direction side)
      Deprecated.
    • getWidthFactorSide

      public float getWidthFactorSide()
    • getHeightFactorSide

      public float getHeightFactorSide()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toCompactString

      public String toCompactString()