Package btw.block.model
Class MetalSpikeModel
java.lang.Object
api.util.PrimitiveGeometric
btw.block.model.BlockModel
btw.block.model.MetalSpikeModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidrenderAsItemBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) Methods inherited from class btw.block.model.BlockModel
addBox, addIntersectingBoxesToCollisionList, addPrimitive, addToRayTrace, collisionRayTrace, getActivePrimitiveID, getAssemblyID, makeTemporaryCopy, makeTemporaryCopyOfPrimitiveList, renderAsBlock, renderAsBlockFullBrightWithTexture, renderAsBlockWithColorMultiplier, renderAsBlockWithTexture, renderAsFallingBlock, rotateAroundYToFacing, setAssemblyID, tiltToFacingAlongY, translateMethods inherited from class api.util.PrimitiveGeometric
renderAsBlockWithColorMultiplier
-
Field Details
-
SHAFT_WIDTH
protected static final double SHAFT_WIDTH- See Also:
-
SHAFT_HALF_WIDTH
protected static final double SHAFT_HALF_WIDTH- See Also:
-
BASE_WIDTH
protected static final double BASE_WIDTH- See Also:
-
BASE_HALF_WIDTH
protected static final double BASE_HALF_WIDTH- See Also:
-
BASE_HEIGHT
protected static final double BASE_HEIGHT- See Also:
-
BASE_HALF_HEIGHT
protected static final double BASE_HALF_HEIGHT- See Also:
-
BALL_WIDTH
protected static final double BALL_WIDTH- See Also:
-
BALL_HALF_WIDTH
protected static final double BALL_HALF_WIDTH- See Also:
-
BALL_VERTICAL_OFFSET
protected static final double BALL_VERTICAL_OFFSET- See Also:
-
CANDLE_HOLDER_WIDTH
protected static final double CANDLE_HOLDER_WIDTH- See Also:
-
CANDLE_HOLDER_HALF_WIDTH
protected static final double CANDLE_HOLDER_HALF_WIDTH- See Also:
-
CANDLE_HOLDER_HEIGHT
protected static final double CANDLE_HOLDER_HEIGHT- See Also:
-
CANDLE_HOLDER_HALF_HEIGHT
protected static final double CANDLE_HOLDER_HALF_HEIGHT- See Also:
-
CANDLE_HOLDER_VERTICAL_OFFSET
protected static final double CANDLE_HOLDER_VERTICAL_OFFSET- See Also:
-
CENTER_BRACE_WIDTH
protected static final double CENTER_BRACE_WIDTH- See Also:
-
CENTER_BRACE_HALF_WIDTH
protected static final double CENTER_BRACE_HALF_WIDTH- See Also:
-
CENTER_BRACE_HEIGHT
protected static final double CENTER_BRACE_HEIGHT- See Also:
-
CENTER_BRACE_HALF_HEIGHT
protected static final double CENTER_BRACE_HALF_HEIGHT- See Also:
-
CENTER_BRACE_VERTICAL_OFFSET
protected static final double CENTER_BRACE_VERTICAL_OFFSET- See Also:
-
SIDE_SUPPORT_LENGTH
protected static final double SIDE_SUPPORT_LENGTH- See Also:
-
SIDE_SUPPORT_WIDTH
protected static final double SIDE_SUPPORT_WIDTH- See Also:
-
SIDE_SUPPORT_HALF_WIDTH
protected static final double SIDE_SUPPORT_HALF_WIDTH- See Also:
-
SIDE_SUPPORT_HEIGHT
protected static final double SIDE_SUPPORT_HEIGHT- See Also:
-
SIDE_SUPPORT_HALF_HEIGHT
protected static final double SIDE_SUPPORT_HALF_HEIGHT- See Also:
-
SIDE_SUPPORT_VERTICAL_OFFSET
protected static final double SIDE_SUPPORT_VERTICAL_OFFSET- See Also:
-
BOUNDING_BOX_WIDTH
protected static final double BOUNDING_BOX_WIDTH- See Also:
-
BOUNDING_BOX_HALF_WIDTH
protected static final double BOUNDING_BOX_HALF_WIDTH- See Also:
-
modelBase
-
modelHolder
-
modelBall
-
modelCenterBrace
-
modelSideSupport
-
holderModelLarge
-
boxCollisionCenter
-
boxCollisionStrut
-
-
Constructor Details
-
MetalSpikeModel
public MetalSpikeModel()
-
-
Method Details
-
initModel
protected void initModel()- Overrides:
initModelin classBlockModel
-
renderAsItemBlock
@Environment(CLIENT) public void renderAsItemBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) - Overrides:
renderAsItemBlockin classBlockModel
-