Class BuiltInModel
java.lang.Object
net.minecraft.client.resources.model.BuiltInModel
- All Implemented Interfaces:
BakedModel,IForgeBakedModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ItemTransformsprivate final ItemOverridesprivate final TextureAtlasSpriteprivate final boolean -
Constructor Summary
ConstructorsConstructorDescriptionBuiltInModel(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_) booleanbooleanisGui3d()booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getQuadsin interfaceBakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusionin interfaceBakedModel
-
isGui3d
public boolean isGui3d()- Specified by:
isGui3din interfaceBakedModel
-
usesBlockLight
public boolean usesBlockLight()- Specified by:
usesBlockLightin interfaceBakedModel
-
isCustomRenderer
public boolean isCustomRenderer()- Specified by:
isCustomRendererin interfaceBakedModel
-
getParticleIcon
- Specified by:
getParticleIconin interfaceBakedModel
-
getTransforms
- Specified by:
getTransformsin interfaceBakedModel
-
getOverrides
- Specified by:
getOverridesin interfaceBakedModel
-