Package btw.block.model
Class BucketModel
java.lang.Object
api.util.PrimitiveGeometric
btw.block.model.BlockModel
btw.block.model.BucketModel
- Direct Known Subclasses:
BucketFullModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Vec3getOffsetForFacing(int iFacing) Assumes facing is not 1, where there should be no offsetprotected voidstatic voidoffsetModelForFacing(BlockModel model, int iFacing) Methods inherited from class btw.block.model.BlockModel
addBox, addIntersectingBoxesToCollisionList, addPrimitive, addToRayTrace, collisionRayTrace, getActivePrimitiveID, getAssemblyID, makeTemporaryCopy, makeTemporaryCopyOfPrimitiveList, renderAsBlock, renderAsBlockFullBrightWithTexture, renderAsBlockWithColorMultiplier, renderAsBlockWithTexture, renderAsFallingBlock, renderAsItemBlock, rotateAroundYToFacing, setAssemblyID, tiltToFacingAlongY, translateMethods inherited from class api.util.PrimitiveGeometric
renderAsBlockWithColorMultiplier
-
Field Details
-
ASSEMBLY_ID_BASE
public static final int ASSEMBLY_ID_BASE- See Also:
-
ASSEMBLY_ID_BODY
public static final int ASSEMBLY_ID_BODY- See Also:
-
ASSEMBLY_ID_RIM
public static final int ASSEMBLY_ID_RIM- See Also:
-
ASSEMBLY_ID_INTERIOR
public static final int ASSEMBLY_ID_INTERIOR- See Also:
-
ASSEMBLY_ID_CONTENTS
public static final int ASSEMBLY_ID_CONTENTS- See Also:
-
HEIGHT
public static final double HEIGHT- See Also:
-
WIDTH
public static final double WIDTH- See Also:
-
HALF_WIDTH
public static final double HALF_WIDTH- See Also:
-
BASE_HEIGHT
public static final double BASE_HEIGHT- See Also:
-
BASE_WIDTH
public static final double BASE_WIDTH- See Also:
-
BASE_HALF_WIDTH
public static final double BASE_HALF_WIDTH- See Also:
-
BODY_WIDTH
public static final double BODY_WIDTH- See Also:
-
BODY_HALF_WIDTH
public static final double BODY_HALF_WIDTH- See Also:
-
RIM_HEIGHT
public static final double RIM_HEIGHT- See Also:
-
INTERIOR_HEIGHT
public static final double INTERIOR_HEIGHT- See Also:
-
INTERIOR_WIDTH
public static final double INTERIOR_WIDTH- See Also:
-
INTERIOR_HALF_WIDTH
public static final double INTERIOR_HALF_WIDTH- See Also:
-
-
Constructor Details
-
BucketModel
public BucketModel()
-
-
Method Details
-
initModel
protected void initModel()- Overrides:
initModelin classBlockModel
-
offsetModelForFacing
-
getOffsetForFacing
Assumes facing is not 1, where there should be no offset
-