Package api.util
Class PrimitiveGeometric
java.lang.Object
api.util.PrimitiveGeometric
- Direct Known Subclasses:
AxisAlignedBB,BlockModel,PrimitiveQuad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIntersectingBoxesToCollisionList(World world, int i, int j, int k, AxisAlignedBB boxToIntersect, List collisionList) abstract voidaddToRayTrace(RayTraceUtils rayTrace) intabstract PrimitiveGeometricabstract booleanrenderAsBlock(RenderBlocks renderBlocks, Block block, int i, int j, int k) abstract booleanrenderAsBlockFullBrightWithTexture(RenderBlocks renderBlocks, Block block, int i, int j, int k, Icon icon) booleanrenderAsBlockWithColorMultiplier(RenderBlocks renderBlocks, Block block, int x, int y, int z) abstract booleanrenderAsBlockWithColorMultiplier(RenderBlocks renderBlocks, Block block, int i, int j, int k, float fRed, float fGreen, float fBlue) abstract booleanrenderAsBlockWithTexture(RenderBlocks renderBlocks, Block block, int i, int j, int k, Icon icon) abstract voidrenderAsFallingBlock(RenderBlocks renderBlocks, Block block, int i, int j, int k, int iMetadata) abstract voidrenderAsItemBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) abstract voidrotateAroundYToFacing(int iFacing) abstract voidtiltToFacingAlongY(int iFacing) abstract voidtranslate(double dDeltaX, double dDeltaY, double dDeltaZ)
-
Constructor Details
-
PrimitiveGeometric
public PrimitiveGeometric()
-
-
Method Details
-
makeTemporaryCopy
-
rotateAroundYToFacing
public abstract void rotateAroundYToFacing(int iFacing) -
tiltToFacingAlongY
public abstract void tiltToFacingAlongY(int iFacing) -
addToRayTrace
-
translate
public abstract void translate(double dDeltaX, double dDeltaY, double dDeltaZ) -
addIntersectingBoxesToCollisionList
public void addIntersectingBoxesToCollisionList(World world, int i, int j, int k, AxisAlignedBB boxToIntersect, List collisionList) -
getAssemblyID
public int getAssemblyID() -
renderAsBlock
@Environment(CLIENT) public abstract boolean renderAsBlock(RenderBlocks renderBlocks, Block block, int i, int j, int k) -
renderAsBlockWithColorMultiplier
@Environment(CLIENT) public abstract boolean renderAsBlockWithColorMultiplier(RenderBlocks renderBlocks, Block block, int i, int j, int k, float fRed, float fGreen, float fBlue) -
renderAsBlockWithColorMultiplier
@Environment(CLIENT) public boolean renderAsBlockWithColorMultiplier(RenderBlocks renderBlocks, Block block, int x, int y, int z) -
renderAsBlockWithTexture
@Environment(CLIENT) public abstract boolean renderAsBlockWithTexture(RenderBlocks renderBlocks, Block block, int i, int j, int k, Icon icon) -
renderAsBlockFullBrightWithTexture
@Environment(CLIENT) public abstract boolean renderAsBlockFullBrightWithTexture(RenderBlocks renderBlocks, Block block, int i, int j, int k, Icon icon) -
renderAsItemBlock
@Environment(CLIENT) public abstract void renderAsItemBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) -
renderAsFallingBlock
@Environment(CLIENT) public abstract void renderAsFallingBlock(RenderBlocks renderBlocks, Block block, int i, int j, int k, int iMetadata)
-