Class BuiltInModel
- java.lang.Object
-
- net.minecraft.client.renderer.model.BuiltInModel
-
- All Implemented Interfaces:
IBakedModel
,IForgeBakedModel
public class BuiltInModel extends java.lang.Object implements IBakedModel
-
-
Field Summary
Fields Modifier and Type Field Description private ItemCameraTransforms
itemTransforms
private ItemOverrideList
overrides
private TextureAtlasSprite
particleTexture
private boolean
usesBlockLight
-
Constructor Summary
Constructors Constructor Description BuiltInModel(ItemCameraTransforms p_i230058_1_, ItemOverrideList p_i230058_2_, TextureAtlasSprite p_i230058_3_, boolean p_i230058_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemOverrideList
getOverrides()
TextureAtlasSprite
getParticleIcon()
java.util.List<BakedQuad>
getQuads(BlockState p_200117_1_, Direction p_200117_2_, java.util.Random p_200117_3_)
ItemCameraTransforms
getTransforms()
boolean
isCustomRenderer()
boolean
isGui3d()
boolean
useAmbientOcclusion()
boolean
usesBlockLight()
-
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, getBakedModel, getLayerModels, getModelData, getParticleTexture, getQuads, handlePerspective, isAmbientOcclusion, isLayered
-
-
-
-
Field Detail
-
itemTransforms
private final ItemCameraTransforms itemTransforms
-
overrides
private final ItemOverrideList overrides
-
particleTexture
private final TextureAtlasSprite particleTexture
-
usesBlockLight
private final boolean usesBlockLight
-
-
Constructor Detail
-
BuiltInModel
public BuiltInModel(ItemCameraTransforms p_i230058_1_, ItemOverrideList p_i230058_2_, TextureAtlasSprite p_i230058_3_, boolean p_i230058_4_)
-
-
Method Detail
-
getQuads
public java.util.List<BakedQuad> getQuads(@Nullable BlockState p_200117_1_, @Nullable Direction p_200117_2_, java.util.Random p_200117_3_)
- Specified by:
getQuads
in interfaceIBakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()
- Specified by:
useAmbientOcclusion
in interfaceIBakedModel
-
isGui3d
public boolean isGui3d()
- Specified by:
isGui3d
in interfaceIBakedModel
-
usesBlockLight
public boolean usesBlockLight()
- Specified by:
usesBlockLight
in interfaceIBakedModel
-
isCustomRenderer
public boolean isCustomRenderer()
- Specified by:
isCustomRenderer
in interfaceIBakedModel
-
getParticleIcon
public TextureAtlasSprite getParticleIcon()
- Specified by:
getParticleIcon
in interfaceIBakedModel
-
getTransforms
public ItemCameraTransforms getTransforms()
- Specified by:
getTransforms
in interfaceIBakedModel
-
getOverrides
public ItemOverrideList getOverrides()
- Specified by:
getOverrides
in interfaceIBakedModel
-
-