Class BuiltInModel
java.lang.Object
net.minecraft.client.resources.model.BuiltInModel
- All Implemented Interfaces:
BakedModel
,IBakedModelExtension
-
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_235043_, Direction p_235044_, RandomSource p_235045_) 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.neoforged.neoforge.client.extensions.IBakedModelExtension
applyTransform, getModelData, getParticleIcon, getQuads, getRenderPasses, getRenderTypes, getRenderTypes, 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_235043_, @Nullable Direction p_235044_, RandomSource p_235045_) - 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
-