Class SimpleBakedModel
java.lang.Object
net.minecraft.client.resources.model.SimpleBakedModel
- All Implemented Interfaces:
BakedModel
,IForgeBakedModel
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected ItemOverrides
protected TextureAtlasSprite
protected ItemTransforms
protected boolean
-
Constructor Summary
ConstructorDescriptionSimpleBakedModel(List<BakedQuad> p_119489_, Map<Direction,List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_)
-
Method Summary
Modifier and TypeMethodDescriptiongetQuads(BlockState p_119499_, Direction p_119500_, Random p_119501_)
boolean
boolean
isGui3d()
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.client.extensions.IForgeBakedModel
doesHandlePerspectives, getLayerModels, getModelData, getParticleIcon, getQuads, handlePerspective, isAmbientOcclusion, isLayered
-
Field Details
-
unculledFaces
-
culledFaces
-
hasAmbientOcclusion
protected final boolean hasAmbientOcclusion -
isGui3d
protected final boolean isGui3d -
usesBlockLight
protected final boolean usesBlockLight -
particleIcon
-
transforms
-
overrides
-
-
Constructor Details
-
SimpleBakedModel
public SimpleBakedModel(List<BakedQuad> p_119489_, Map<Direction,List<BakedQuad>> p_119490_, boolean p_119491_, boolean p_119492_, boolean p_119493_, TextureAtlasSprite p_119494_, ItemTransforms p_119495_, ItemOverrides p_119496_)
-
-
Method Details
-
getQuads
public List<BakedQuad> getQuads(@Nullable BlockState p_119499_, @Nullable Direction p_119500_, Random p_119501_)- Specified by:
getQuads
in interfaceBakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusion
in interfaceBakedModel
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3d
in interfaceBakedModel
-
usesBlockLight
public boolean usesBlockLight()- Specified by:
usesBlockLight
in interfaceBakedModel
-
isCustomRenderer
public boolean isCustomRenderer()- Specified by:
isCustomRenderer
in interfaceBakedModel
-
getParticleIcon
- Specified by:
getParticleIcon
in interfaceBakedModel
-
getTransforms
- Specified by:
getTransforms
in interfaceBakedModel
-
getOverrides
- Specified by:
getOverrides
in interfaceBakedModel
-