Uses of Interface
net.minecraftforge.client.model.data.IModelData
Package
Description
-
Uses of IModelData in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionvoid
BlockRendererDispatcher.renderBlock
(BlockState p_228791_1_, MatrixStack p_228791_2_, IRenderTypeBuffer p_228791_3_, int p_228791_4_, int p_228791_5_, IModelData modelData) void
BlockRendererDispatcher.renderBlockDamage
(BlockState blockStateIn, BlockPos posIn, IBlockDisplayReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, IModelData modelData) void
BlockModelRenderer.renderModel
(MatrixStack.Entry p_228804_1_, IVertexBuilder p_228804_2_, BlockState p_228804_3_, IBakedModel p_228804_4_, float p_228804_5_, float p_228804_6_, float p_228804_7_, int p_228804_8_, int p_228804_9_, IModelData modelData) boolean
BlockModelRenderer.renderModel
(IBlockDisplayReader worldIn, IBakedModel modelIn, BlockState stateIn, BlockPos posIn, MatrixStack matrixIn, IVertexBuilder buffer, boolean checkSides, Random randomIn, long rand, int combinedOverlayIn, IModelData modelData) boolean
BlockRendererDispatcher.renderModel
(BlockState blockStateIn, BlockPos posIn, IBlockDisplayReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, boolean checkSides, Random rand, IModelData modelData) boolean
BlockModelRenderer.renderModelFlat
(IBlockDisplayReader worldIn, IBakedModel modelIn, BlockState stateIn, BlockPos posIn, MatrixStack matrixStackIn, IVertexBuilder buffer, boolean checkSides, Random randomIn, long rand, int combinedOverlayIn, IModelData modelData) boolean
BlockModelRenderer.renderModelSmooth
(IBlockDisplayReader worldIn, IBakedModel modelIn, BlockState stateIn, BlockPos posIn, MatrixStack matrixStackIn, IVertexBuilder buffer, boolean checkSides, Random randomIn, long rand, int combinedOverlayIn, IModelData modelData) -
Uses of IModelData in net.minecraft.client.renderer.chunk
Modifier and TypeFieldDescriptionprotected Map<BlockPos,
IModelData> ChunkRenderDispatcher.ChunkRender.ChunkRenderTask.modelData
Modifier and TypeMethodDescriptionChunkRenderDispatcher.ChunkRender.ChunkRenderTask.getModelData
(BlockPos pos) -
Uses of IModelData in net.minecraft.client.renderer.model
Modifier and TypeMethodDescriptionMultipartBakedModel.getModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) Modifier and TypeMethodDescriptionMultipartBakedModel.getModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) MultipartBakedModel.getParticleTexture
(IModelData modelData) WeightedBakedModel.getParticleTexture
(IModelData modelData) MultipartBakedModel.getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_, IModelData modelData) WeightedBakedModel.getQuads
(BlockState p_200117_1_, Direction p_200117_2_, Random p_200117_3_, IModelData modelData) -
Uses of IModelData in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault IModelData
IForgeBakedModel.getModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) Modifier and TypeMethodDescriptiondefault IModelData
IForgeBakedModel.getModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) default TextureAtlasSprite
IForgeBakedModel.getParticleTexture
(IModelData data) IForgeBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) -
Uses of IModelData in net.minecraftforge.client.model
Modifier and TypeClassDescriptionstatic class
A model data container which stores data for child components.private static class
Wrapper for an IModelData instance which allows forwarding queries to the parent, but stores any new/modified values itself, avoiding modifications to the parent.Modifier and TypeFieldDescriptionprivate static final Map<ChunkPos,
Map<BlockPos, IModelData>> ModelDataManager.modelDataCache
private final Map<String,
IModelData> CompositeModel.CompositeModelData.parts
Modifier and TypeMethodDescriptionstatic IModelData
CompositeModel.CompositeModelData.get
(IModelData modelData, String name) Helper to get child data from an unknown IModelData instance.BakedModelWrapper.getModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) CompositeModel.getModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) static IModelData
ModelDataManager.getModelData
(World world, BlockPos pos) CompositeModel.CompositeModelData.getSubmodelData
(String name) static IModelData
CompositeModel.ModelDataWrapper.wrap
(IModelData parent) Modifier and TypeMethodDescriptionstatic Map<BlockPos,
IModelData> ModelDataManager.getModelData
(World world, ChunkPos pos) Modifier and TypeMethodDescriptionCompositeModel.CompositeModelData.get
(IModelData modelData) Helper to get the CompositeModelData from an unknown IModelData instance.static IModelData
CompositeModel.CompositeModelData.get
(IModelData modelData, String name) Helper to get child data from an unknown IModelData instance.BakedModelWrapper.getModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) CompositeModel.getModelData
(IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) BakedModelWrapper.getParticleTexture
(IModelData data) BakedModelWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) CompositeModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) FluidModel.CachingBakedFluid.getQuads
(BlockState state, Direction side, Random rand, IModelData modelData) ItemMultiLayerBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData modelData) MultiLayerModel.MultiLayerBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) PerspectiveMapWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) void
CompositeModel.CompositeModelData.putSubmodelData
(String name, IModelData data) static IModelData
CompositeModel.ModelDataWrapper.wrap
(IModelData parent) Modifier and TypeMethodDescriptionprivate static int[]
FluidModel.CachingBakedFluid.getCorners
(Optional<IModelData> stateOption) Gets the quantized fluid levels for each corner.private static int
FluidModel.CachingBakedFluid.getFlow
(Optional<IModelData> stateOption) Gets the quantized flow direction of the fluid.private static boolean[]
FluidModel.CachingBakedFluid.getOverlay
(Optional<IModelData> stateOption) Gets the overlay texture flag for each side. -
Uses of IModelData in net.minecraftforge.client.model.b3d
Modifier and TypeMethodDescriptionB3DLoader.BakedWrapper.getQuads
(BlockState state, Direction side, Random rand, IModelData data) -
Uses of IModelData in net.minecraftforge.client.model.data
Modifier and TypeFieldDescriptionprivate final Map<IBakedModel,
IModelData> MultipartModelData.partData
Modifier and TypeMethodDescriptionstatic IModelData
MultipartModelData.create
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, IBakedModel>> selectors, IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) MultipartModelData.getPartData
(IBakedModel part, IModelData defaultData) static IModelData
MultipartModelData.resolve
(IBakedModel part, IModelData modelData) Modifier and TypeMethodDescriptionstatic IModelData
MultipartModelData.create
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, IBakedModel>> selectors, IBlockDisplayReader world, BlockPos pos, BlockState state, IModelData tileData) MultipartModelData.getPartData
(IBakedModel part, IModelData defaultData) IDynamicBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) static IModelData
MultipartModelData.resolve
(IBakedModel part, IModelData modelData) void
MultipartModelData.setPartData
(IBakedModel part, IModelData data) -
Uses of IModelData in net.minecraftforge.client.model.pipeline
Modifier and TypeMethodDescriptionstatic boolean
ForgeBlockModelRenderer.render
(VertexLighterFlat lighter, IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, boolean checkSides, Random rand, long seed, IModelData modelData) boolean
ForgeBlockModelRenderer.renderModelFlat
(IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, IVertexBuilder buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData) boolean
ForgeBlockModelRenderer.renderModelSmooth
(IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, IVertexBuilder buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData) -
Uses of IModelData in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault IModelData
IForgeTileEntity.getModelData()
Allows you to return additional model data. -
Uses of IModelData in net.minecraftforge.debug.block
Modifier and TypeFieldDescriptionprivate final IModelData
FullPotsAccessorDemo.DioriteFlowerPotTileEntity.modelData
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) -
Uses of IModelData in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionTRSRTransformerTest.MyBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData data)