Interface IForgeBakedModel
- All Known Subinterfaces:
BakedModel
,IDynamicBakedModel
- All Known Implementing Classes:
B3DLoader.BakedWrapper
,BakedItemModel
,BakedItemModel.BakedGuiItemModel
,BakedModelWrapper
,BuiltInModel
,CompositeModel
,FluidModel.BakedFluid
,FluidModel.CachingBakedFluid
,FullPotsAccessorDemo.ClientHandler.DioritePotModel
,ItemMultiLayerBakedModel
,MultiLayerModel.MultiLayerBakedModel
,MultiPartBakedModel
,PerspectiveMapWrapper
,SeparatePerspectiveModel.BakedModel
,SimpleBakedModel
,TRSRTransformerTest.MyBakedModel
,WeightedBakedModel
public interface IForgeBakedModel
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Override to tell the new model loader that it shouldn't wrap this modeldefault List<com.mojang.datafixers.util.Pair<BakedModel,RenderType>>
getLayerModels(ItemStack itemStack, boolean fabulous)
If returns true, this is called to get the list of layers to draw.default IModelData
getModelData(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData)
default TextureAtlasSprite
getParticleIcon(IModelData data)
getQuads(BlockState state, Direction side, Random rand, IModelData extraData)
default BakedModel
handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
default boolean
isAmbientOcclusion(BlockState state)
default boolean
Override to true, to tell forge to call the getLayerModels method below.private BakedModel
self()
-
Method Details
-
self
-
getQuads
@Nonnull default List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, @Nonnull Random rand, @Nonnull IModelData extraData) -
isAmbientOcclusion
-
doesHandlePerspectives
default boolean doesHandlePerspectives()Override to tell the new model loader that it shouldn't wrap this model -
handlePerspective
default BakedModel handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack) -
getModelData
@Nonnull default IModelData getModelData(@Nonnull BlockAndTintGetter world, @Nonnull BlockPos pos, @Nonnull BlockState state, @Nonnull IModelData tileData) -
getParticleIcon
-
isLayered
default boolean isLayered()Override to true, to tell forge to call the getLayerModels method below. -
getLayerModels
default List<com.mojang.datafixers.util.Pair<BakedModel,RenderType>> getLayerModels(ItemStack itemStack, boolean fabulous)If returns true, this is called to get the list of layers to draw.
-