Package btw.block.model
Class FenceModel
java.lang.Object
api.util.PrimitiveGeometric
btw.block.model.BlockModel
btw.block.model.FenceModel
-
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 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
-
POST_WIDTH
protected static final double POST_WIDTH- See Also:
-
POST_HALF_WIDTH
protected static final double POST_HALF_WIDTH- See Also:
-
ITEM_POSTS_WIDTH
protected static final double ITEM_POSTS_WIDTH- See Also:
-
ITEM_POSTS_HALF_WIDTH
protected static final double ITEM_POSTS_HALF_WIDTH- See Also:
-
ITEM_POSTS_BORDER_GAP
protected static final double ITEM_POSTS_BORDER_GAP- See Also:
-
STRUT_WIDTH
protected static final double STRUT_WIDTH- See Also:
-
STRUT_HALF_WIDTH
protected static final double STRUT_HALF_WIDTH- See Also:
-
STRUT_HEIGHT
protected static final double STRUT_HEIGHT- See Also:
-
STRUT_BOTTOM_VERTICAL_OFFSET
protected static final double STRUT_BOTTOM_VERTICAL_OFFSET- See Also:
-
STRUT_TOP_VERTICAL_OFFSET
protected static final double STRUT_TOP_VERTICAL_OFFSET- See Also:
-
modelStruts
-
modelItem
-
boxCollisionCenter
-
boxCollisionStruts
-
boxBoundsCenter
-
-
Constructor Details
-
FenceModel
public FenceModel()
-
-
Method Details
-
initModel
protected void initModel()- Overrides:
initModelin classBlockModel
-
renderAsItemBlock
@Environment(CLIENT) public void renderAsItemBlock(RenderBlocks renderBlocks, Block block, int iItemDamage) - Overrides:
renderAsItemBlockin classBlockModel
-