Package net.minecraftforge.client.model
Class SeparatePerspectiveModel.BakedModel
java.lang.Object
net.minecraftforge.client.model.SeparatePerspectiveModel.BakedModel
- All Implemented Interfaces:
BakedModel
,IForgeBakedModel
- Enclosing class:
- SeparatePerspectiveModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate BakedModel
private boolean
private boolean
private boolean
private ItemOverrides
private TextureAtlasSprite
private com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,BakedModel>
-
Constructor Summary
ConstructorDescriptionBakedModel(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, BakedModel baseModel, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,BakedModel> perspectives)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Override to tell the new model loader that it shouldn't wrap this modelgetQuads(BlockState state, Direction side, Random rand)
handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
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.minecraftforge.client.extensions.IForgeBakedModel
getLayerModels, getModelData, getParticleIcon, getQuads, isAmbientOcclusion, isLayered
-
Field Details
-
isAmbientOcclusion
private final boolean isAmbientOcclusion -
isGui3d
private final boolean isGui3d -
isSideLit
private final boolean isSideLit -
particle
-
overrides
-
baseModel
-
perspectives
private final com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,BakedModel> perspectives
-
-
Constructor Details
-
BakedModel
public BakedModel(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, BakedModel baseModel, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,BakedModel> perspectives)
-
-
Method Details
-
getQuads
- 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
-
getOverrides
- Specified by:
getOverrides
in interfaceBakedModel
-
doesHandlePerspectives
public boolean doesHandlePerspectives()Description copied from interface:IForgeBakedModel
Override to tell the new model loader that it shouldn't wrap this model- Specified by:
doesHandlePerspectives
in interfaceIForgeBakedModel
-
getTransforms
- Specified by:
getTransforms
in interfaceBakedModel
-
handlePerspective
public BakedModel handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)- Specified by:
handlePerspective
in interfaceIForgeBakedModel
-