Interface IForgeBakedModel
-
- All Known Subinterfaces:
IBakedModel
,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
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
doesHandlePerspectives()
Override to tell the new model loader that it shouldn't wrap this modeldefault IBakedModel
getBakedModel()
default java.util.List<com.mojang.datafixers.util.Pair<IBakedModel,RenderType>>
getLayerModels(ItemStack itemStack, boolean fabulous)
If {@see isLayered()} returns true, this is called to get the list of layers to draw.default IModelData
getModelData(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData)
default TextureAtlasSprite
getParticleTexture(IModelData data)
default java.util.List<BakedQuad>
getQuads(BlockState state, Direction side, java.util.Random rand, IModelData extraData)
default IBakedModel
handlePerspective(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat)
default boolean
isAmbientOcclusion(BlockState state)
default boolean
isLayered()
Override to true, to tell forge to call the getLayerModels method below.
-
-
-
Method Detail
-
getBakedModel
default IBakedModel getBakedModel()
-
getQuads
@Nonnull default java.util.List<BakedQuad> getQuads(@Nullable BlockState state, @Nullable Direction side, @Nonnull java.util.Random rand, @Nonnull IModelData extraData)
-
isAmbientOcclusion
default boolean isAmbientOcclusion(BlockState state)
-
doesHandlePerspectives
default boolean doesHandlePerspectives()
Override to tell the new model loader that it shouldn't wrap this model
-
handlePerspective
default IBakedModel handlePerspective(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat)
-
getModelData
@Nonnull default IModelData getModelData(@Nonnull IBlockDisplayReader world, @Nonnull BlockPos pos, @Nonnull BlockState state, @Nonnull IModelData tileData)
-
getParticleTexture
default TextureAtlasSprite getParticleTexture(@Nonnull IModelData data)
-
isLayered
default boolean isLayered()
Override to true, to tell forge to call the getLayerModels method below.
-
getLayerModels
default java.util.List<com.mojang.datafixers.util.Pair<IBakedModel,RenderType>> getLayerModels(ItemStack itemStack, boolean fabulous)
If {@see isLayered()} returns true, this is called to get the list of layers to draw.
-
-