Package api.util
Class PrimitiveQuad
java.lang.Object
api.util.PrimitiveGeometric
api.util.PrimitiveQuad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToRayTrace(RayTraceUtils rayTrace) voidcomputeBounds(Vec3 min, Vec3 max) booleanisPointOnPlaneWithinBounds(Vec3 point) booleanrenderAsBlock(RenderBlocks renderBlocks, Block block, int i, int j, int k) booleanrenderAsBlockFullBrightWithTexture(RenderBlocks renderBlocks, Block block, int i, int j, int k, Icon icon) booleanrenderAsBlockWithColorMultiplier(RenderBlocks renderBlocks, Block block, int i, int j, int k, float fRed, float fGreen, float fBlue) booleanrenderAsBlockWithTexture(RenderBlocks renderBlocks, Block block, int i, int j, int k, Icon icon) voidrenderAsFallingBlock(RenderBlocks renderBlocks, Block block, int i, int j, int k, int iMetadata) voidrenderAsItemBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) voidrotateAroundYToFacing(int iFacing) setIconIndex(int iIconIndex) setUVFractions(float fMinUFrac, float fMinVFrac, float fMaxVFrac, float fMaxUFrac) voidtiltToFacingAlongY(int iFacing) voidtranslate(double dDeltaX, double dDeltaY, double dDeltaZ) Methods inherited from class api.util.PrimitiveGeometric
addIntersectingBoxesToCollisionList, getAssemblyID, renderAsBlockWithColorMultiplier
-
Constructor Details
-
PrimitiveQuad
-
-
Method Details
-
rotateAroundYToFacing
public void rotateAroundYToFacing(int iFacing) - Specified by:
rotateAroundYToFacingin classPrimitiveGeometric
-
tiltToFacingAlongY
public void tiltToFacingAlongY(int iFacing) - Specified by:
tiltToFacingAlongYin classPrimitiveGeometric
-
translate
public void translate(double dDeltaX, double dDeltaY, double dDeltaZ) - Specified by:
translatein classPrimitiveGeometric
-
addToRayTrace
- Specified by:
addToRayTracein classPrimitiveGeometric
-
makeTemporaryCopy
- Specified by:
makeTemporaryCopyin classPrimitiveGeometric
-
isPointOnPlaneWithinBounds
-
computeBounds
-
computeNormal
-
setUVFractions
public PrimitiveQuad setUVFractions(float fMinUFrac, float fMinVFrac, float fMaxVFrac, float fMaxUFrac) -
setIconIndex
-
renderAsBlock
@Environment(CLIENT) public boolean renderAsBlock(RenderBlocks renderBlocks, Block block, int i, int j, int k) - Specified by:
renderAsBlockin classPrimitiveGeometric
-
renderAsBlockWithColorMultiplier
@Environment(CLIENT) public boolean renderAsBlockWithColorMultiplier(RenderBlocks renderBlocks, Block block, int i, int j, int k, float fRed, float fGreen, float fBlue) - Specified by:
renderAsBlockWithColorMultiplierin classPrimitiveGeometric
-
renderAsBlockWithTexture
@Environment(CLIENT) public boolean renderAsBlockWithTexture(RenderBlocks renderBlocks, Block block, int i, int j, int k, Icon icon) - Specified by:
renderAsBlockWithTexturein classPrimitiveGeometric
-
renderAsBlockFullBrightWithTexture
@Environment(CLIENT) public boolean renderAsBlockFullBrightWithTexture(RenderBlocks renderBlocks, Block block, int i, int j, int k, Icon icon) - Specified by:
renderAsBlockFullBrightWithTexturein classPrimitiveGeometric
-
renderAsItemBlock
@Environment(CLIENT) public void renderAsItemBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) - Specified by:
renderAsItemBlockin classPrimitiveGeometric
-
renderAsFallingBlock
@Environment(CLIENT) public void renderAsFallingBlock(RenderBlocks renderBlocks, Block block, int i, int j, int k, int iMetadata) - Specified by:
renderAsFallingBlockin classPrimitiveGeometric
-