Interface BakedModel
- All Known Implementing Classes:
BasicBakedModel,BuiltinBakedModel,MultipartBakedModel,WeightedBakedModel
@Environment(CLIENT)
public interface BakedModel
-
Method Summary
Modifier and Type Method Description ModelOverrideListgetOverrides()List<BakedQuad>getQuads(BlockState state, Direction face, Random random)SpritegetSprite()ModelTransformationgetTransformation()booleanhasDepth()booleanisBuiltin()booleanisSideLit()Allows control of the lighting when rendering a model in a GUI.booleanuseAmbientOcclusion()
-
Method Details
-
getQuads
-
useAmbientOcclusion
boolean useAmbientOcclusion() -
hasDepth
boolean hasDepth() -
isSideLit
boolean isSideLit()Allows control of the lighting when rendering a model in a GUI.True, the model will be lit from the side, like a block.
False, the model will be lit from the front, like an item.
-
isBuiltin
boolean isBuiltin() -
getSprite
Sprite getSprite() -
getTransformation
ModelTransformation getTransformation() -
getOverrides
ModelOverrideList getOverrides()
-