Package net.minecraftforge.client.model
Class BakedItemModel
java.lang.Object
net.minecraftforge.client.model.BakedItemModel
- All Implemented Interfaces:
IBakedModel
,IForgeBakedModel
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final IBakedModel
protected final boolean
protected final ItemOverrideList
protected final TextureAtlasSprite
protected final com.google.common.collect.ImmutableList<BakedQuad>
protected final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,
TransformationMatrix> -
Constructor Summary
ConstructorDescriptionBakedItemModel
(com.google.common.collect.ImmutableList<BakedQuad> quads, TextureAtlasSprite particle, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> transforms, ItemOverrideList overrides, boolean untransformed, boolean isSideLit) -
Method Summary
Modifier and TypeMethodDescriptiongetQuads
(BlockState state, Direction side, Random rand) private static boolean
hasGuiIdentity
(com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> transforms) 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.minecraft.client.renderer.model.IBakedModel
getTransforms
Methods inherited from interface net.minecraftforge.client.extensions.IForgeBakedModel
doesHandlePerspectives, getBakedModel, getLayerModels, getModelData, getParticleTexture, getQuads, isAmbientOcclusion, isLayered
-
Field Details
-
quads
-
particle
-
transforms
protected final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,TransformationMatrix> transforms -
overrides
-
guiModel
-
isSideLit
protected final boolean isSideLit
-
-
Constructor Details
-
BakedItemModel
public BakedItemModel(com.google.common.collect.ImmutableList<BakedQuad> quads, TextureAtlasSprite particle, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> transforms, ItemOverrideList overrides, boolean untransformed, boolean isSideLit)
-
-
Method Details
-
hasGuiIdentity
private static boolean hasGuiIdentity(com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> transforms) -
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
- Specified by:
getParticleIcon
in interfaceIBakedModel
-
getOverrides
- Specified by:
getOverrides
in interfaceIBakedModel
-
getQuads
- Specified by:
getQuads
in interfaceIBakedModel
-
handlePerspective
- Specified by:
handlePerspective
in interfaceIForgeBakedModel
-