Package net.minecraftforge.client.model
Class BakedModelWrapper<T extends BakedModel>
java.lang.Object
net.minecraftforge.client.model.BakedModelWrapper<T>
- All Implemented Interfaces:
BakedModel
,IForgeBakedModel
- Direct Known Subclasses:
BakedItemModel.BakedGuiItemModel
,FullPotsAccessorDemo.ClientHandler.DioritePotModel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Override to tell the new model loader that it shouldn't wrap this modelgetModelData(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData)
getParticleIcon(IModelData data)
getQuads(BlockState state, Direction side, Random rand)
getQuads(BlockState state, Direction side, Random rand, IModelData extraData)
handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
boolean
isAmbientOcclusion(BlockState state)
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, isLayered
-
Field Details
-
originalModel
-
-
Constructor Details
-
BakedModelWrapper
-
-
Method Details
-
getQuads
- Specified by:
getQuads
in interfaceBakedModel
-
useAmbientOcclusion
public boolean useAmbientOcclusion()- Specified by:
useAmbientOcclusion
in interfaceBakedModel
-
isAmbientOcclusion
- Specified by:
isAmbientOcclusion
in interfaceIForgeBakedModel
-
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
-
getTransforms
- Specified by:
getTransforms
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
-
handlePerspective
public BakedModel handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)- Specified by:
handlePerspective
in interfaceIForgeBakedModel
-
getParticleIcon
- Specified by:
getParticleIcon
in interfaceIForgeBakedModel
-
getQuads
@Nonnull public List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, @Nonnull Random rand, @Nonnull IModelData extraData)- Specified by:
getQuads
in interfaceIForgeBakedModel
-
getModelData
@Nonnull public IModelData getModelData(@Nonnull BlockAndTintGetter world, @Nonnull BlockPos pos, @Nonnull BlockState state, @Nonnull IModelData tileData)- Specified by:
getModelData
in interfaceIForgeBakedModel
-