@Environment(value=CLIENT)
public interface BakedModel
Modifier and Type | Method and 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() |
List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction face, Random random)
boolean useAmbientOcclusion()
boolean hasDepth()
boolean isSideLit()
True, the model will be lit from the side, like a block.
False, the model will be lit from the front, like an item.
boolean isBuiltin()
Sprite getSprite()
ModelTransformation getTransformation()
ModelOverrideList getOverrides()