Interface BakedModel
- All Known Implementing Classes:
BasicBakedModel
,BuiltinBakedModel
,MultipartBakedModel
,WeightedBakedModel
@Environment(CLIENT)
public interface BakedModel
-
Method Summary
Modifier and Type Method Description ModelOverrideList
getOverrides()
List<BakedQuad>
getQuads(BlockState state, Direction face, Random random)
Sprite
getSprite()
ModelTransformation
getTransformation()
boolean
hasDepth()
boolean
isBuiltin()
boolean
isSideLit()
Allows control of the lighting when rendering a model in a GUI.boolean
useAmbientOcclusion()
-
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()
-