Package net.minecraftforge.client.model
Class SeparatePerspectiveModel.BakedModel
java.lang.Object
net.minecraftforge.client.model.SeparatePerspectiveModel.BakedModel
- All Implemented Interfaces:
IBakedModel
,IForgeBakedModel
- Enclosing class:
- SeparatePerspectiveModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IBakedModel
private final boolean
private final boolean
private final boolean
private final ItemOverrideList
private final TextureAtlasSprite
private final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,
IBakedModel> -
Constructor Summary
ConstructorDescriptionBakedModel
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrideList overrides, IBakedModel baseModel, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, IBakedModel> 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
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) 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
getBakedModel, getLayerModels, getModelData, getParticleTexture, 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<ItemCameraTransforms.TransformType,IBakedModel> perspectives
-
-
Constructor Details
-
BakedModel
public BakedModel(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrideList overrides, IBakedModel baseModel, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, IBakedModel> perspectives)
-
-
Method Details
-
getQuads
- 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
- Specified by:
getParticleIcon
in interfaceIBakedModel
-
getOverrides
- Specified by:
getOverrides
in interfaceIBakedModel
-
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 interfaceIBakedModel
-
handlePerspective
public IBakedModel handlePerspective(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) - Specified by:
handlePerspective
in interfaceIForgeBakedModel
-