Class PartRenderPosition
java.lang.Object
org.cyclops.integrateddynamics.api.part.PartRenderPosition
Render position definition of a part.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPartRenderPosition
(float selectionDepthFactor, float depthFactor, float widthFactor, float heightFactor) PartRenderPosition
(float selectionDepthFactor, float depthFactor, float widthFactor, float heightFactor, float widthFactorSide, float heightFactorSide) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.shapes.VoxelShape
getBoundingBox
(net.minecraft.core.Direction side) Deprecated.net.minecraft.world.phys.shapes.VoxelShape
getBoundingBox
(net.minecraft.core.Direction side, net.minecraft.world.phys.shapes.CollisionContext context) float
float
float
net.minecraft.world.phys.shapes.VoxelShape
getSidedCableBoundingBox
(net.minecraft.core.Direction side) float
float
toString()
-
Field Details
-
NONE
-
-
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
-
toCompactString
-