Class BuiltInModel
java.lang.Object
net.minecraft.client.resources.model.BuiltInModel
- All Implemented Interfaces:
BakedModel
,IForgeBakedModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ItemTransforms
private final ItemOverrides
private final TextureAtlasSprite
private final boolean
-
Constructor Summary
ConstructorDescriptionBuiltInModel
(ItemTransforms p_119172_, ItemOverrides p_119173_, TextureAtlasSprite p_119174_, boolean p_119175_) -
Method Summary
Modifier and TypeMethodDescriptiongetQuads
(BlockState p_119178_, Direction p_119179_, Random p_119180_) 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, isLayered, useAmbientOcclusion
-
Field Details
-
itemTransforms
-
overrides
-
particleTexture
-
usesBlockLight
private final boolean usesBlockLight
-
-
Constructor Details
-
BuiltInModel
public BuiltInModel(ItemTransforms p_119172_, ItemOverrides p_119173_, TextureAtlasSprite p_119174_, boolean p_119175_)
-
-
Method Details
-
getQuads
public List<BakedQuad> getQuads(@Nullable BlockState p_119178_, @Nullable Direction p_119179_, Random p_119180_) - 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
-