Class SimpleBakedModel
- java.lang.Object
-
- net.minecraft.client.renderer.model.SimpleBakedModel
-
- All Implemented Interfaces:
IBakedModel
,IForgeBakedModel
public class SimpleBakedModel extends java.lang.Object implements IBakedModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleBakedModel.Builder
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<Direction,java.util.List<BakedQuad>>
culledFaces
protected boolean
hasAmbientOcclusion
protected boolean
isGui3d
protected ItemOverrideList
overrides
protected TextureAtlasSprite
particleIcon
protected ItemCameraTransforms
transforms
protected java.util.List<BakedQuad>
unculledFaces
protected boolean
usesBlockLight
-
Constructor Summary
Constructors Constructor Description SimpleBakedModel(java.util.List<BakedQuad> p_i230059_1_, java.util.Map<Direction,java.util.List<BakedQuad>> p_i230059_2_, boolean p_i230059_3_, boolean p_i230059_4_, boolean p_i230059_5_, TextureAtlasSprite p_i230059_6_, ItemCameraTransforms p_i230059_7_, ItemOverrideList p_i230059_8_)
-
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
-
unculledFaces
protected final java.util.List<BakedQuad> unculledFaces
-
hasAmbientOcclusion
protected final boolean hasAmbientOcclusion
-
isGui3d
protected final boolean isGui3d
-
usesBlockLight
protected final boolean usesBlockLight
-
particleIcon
protected final TextureAtlasSprite particleIcon
-
transforms
protected final ItemCameraTransforms transforms
-
overrides
protected final ItemOverrideList overrides
-
-
Constructor Detail
-
SimpleBakedModel
public SimpleBakedModel(java.util.List<BakedQuad> p_i230059_1_, java.util.Map<Direction,java.util.List<BakedQuad>> p_i230059_2_, boolean p_i230059_3_, boolean p_i230059_4_, boolean p_i230059_5_, TextureAtlasSprite p_i230059_6_, ItemCameraTransforms p_i230059_7_, ItemOverrideList p_i230059_8_)
-
-
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
-
-