Uses of Interface
net.minecraftforge.client.model.data.IModelData
Package
Description
-
Uses of IModelData in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionboolean
BlockRenderDispatcher.renderBatched
(BlockState p_110925_, BlockPos p_110926_, BlockAndTintGetter p_110927_, PoseStack p_110928_, VertexConsumer p_110929_, boolean p_110930_, Random p_110931_, IModelData modelData) void
BlockRenderDispatcher.renderBreakingTexture
(BlockState p_110919_, BlockPos p_110920_, BlockAndTintGetter p_110921_, PoseStack p_110922_, VertexConsumer p_110923_, IModelData modelData) void
ModelBlockRenderer.renderModel
(PoseStack.Pose p_111068_, VertexConsumer p_111069_, BlockState p_111070_, BakedModel p_111071_, float p_111072_, float p_111073_, float p_111074_, int p_111075_, int p_111076_, IModelData modelData) void
BlockRenderDispatcher.renderSingleBlock
(BlockState p_110913_, PoseStack p_110914_, MultiBufferSource p_110915_, int p_110916_, int p_110917_, IModelData modelData) boolean
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_111048_, BakedModel p_111049_, BlockState p_111050_, BlockPos p_111051_, PoseStack p_111052_, VertexConsumer p_111053_, boolean p_111054_, Random p_111055_, long p_111056_, int p_111057_, IModelData modelData) boolean
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_111079_, BakedModel p_111080_, BlockState p_111081_, BlockPos p_111082_, PoseStack p_111083_, VertexConsumer p_111084_, boolean p_111085_, Random p_111086_, long p_111087_, int p_111088_, IModelData modelData) boolean
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_111091_, BakedModel p_111092_, BlockState p_111093_, BlockPos p_111094_, PoseStack p_111095_, VertexConsumer p_111096_, boolean p_111097_, Random p_111098_, long p_111099_, int p_111100_, IModelData modelData) -
Uses of IModelData in net.minecraft.client.renderer.chunk
Modifier and TypeFieldDescriptionprotected Map<BlockPos,
IModelData> ChunkRenderDispatcher.RenderChunk.ChunkCompileTask.modelData
Modifier and TypeMethodDescriptionChunkRenderDispatcher.RenderChunk.ChunkCompileTask.getModelData
(BlockPos pos) -
Uses of IModelData in net.minecraft.client.resources.model
Modifier and TypeMethodDescriptionMultiPartBakedModel.getModelData
(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData) Modifier and TypeMethodDescriptionMultiPartBakedModel.getModelData
(BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData) MultiPartBakedModel.getParticleIcon
(IModelData modelData) WeightedBakedModel.getParticleIcon
(IModelData modelData) MultiPartBakedModel.getQuads
(BlockState p_119465_, Direction p_119466_, Random p_119467_, IModelData modelData) WeightedBakedModel.getQuads
(BlockState p_119547_, Direction p_119548_, Random p_119549_, IModelData modelData) -
Uses of IModelData in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault IModelData
IForgeBakedModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) Modifier and TypeMethodDescriptiondefault IModelData
IForgeBakedModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) default TextureAtlasSprite
IForgeBakedModel.getParticleIcon
(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
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) CompositeModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) static IModelData
ModelDataManager.getModelData
(Level level, BlockPos pos) CompositeModel.CompositeModelData.getSubmodelData
(String name) static IModelData
CompositeModel.ModelDataWrapper.wrap
(IModelData parent) Modifier and TypeMethodDescriptionstatic Map<BlockPos,
IModelData> ModelDataManager.getModelData
(Level level, 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
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) CompositeModel.getModelData
(BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData modelData) BakedModelWrapper.getParticleIcon
(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<BakedModel,
IModelData> MultipartModelData.partData
Modifier and TypeMethodDescriptionstatic IModelData
MultipartModelData.create
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> selectors, BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData tileData) MultipartModelData.getPartData
(BakedModel part, IModelData defaultData) static IModelData
MultipartModelData.resolve
(BakedModel part, IModelData modelData) Modifier and TypeMethodDescriptionstatic IModelData
MultipartModelData.create
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, BakedModel>> selectors, BlockAndTintGetter level, BlockPos pos, BlockState state, IModelData tileData) MultipartModelData.getPartData
(BakedModel part, IModelData defaultData) IDynamicBakedModel.getQuads
(BlockState state, Direction side, Random rand, IModelData extraData) static IModelData
MultipartModelData.resolve
(BakedModel part, IModelData modelData) void
MultipartModelData.setPartData
(BakedModel part, IModelData data) -
Uses of IModelData in net.minecraftforge.client.model.pipeline
Modifier and TypeMethodDescriptionstatic boolean
ForgeBlockModelRenderer.render
(VertexLighterFlat lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, Random rand, long seed, IModelData modelData) boolean
ForgeBlockModelRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int packedOverlay, IModelData modelData) boolean
ForgeBlockModelRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int packedOverlay, IModelData modelData) -
Uses of IModelData in net.minecraftforge.client.model.renderable
Modifier and TypeMethodDescriptionvoid
BakedRenderable.render
(PoseStack poseStack, MultiBufferSource bufferSource, Function<ResourceLocation, RenderType> renderTypeFunction, int lightmapCoord, int overlayCoord, float partialTicks, IModelData renderValues) -
Uses of IModelData in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault IModelData
IForgeBlockEntity.getModelData()
Allows you to return additional model data. -
Uses of IModelData in net.minecraftforge.debug.block
Modifier and TypeFieldDescriptionprivate final IModelData
FullPotsAccessorDemo.DioriteFlowerPotBlockEntity.modelData
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.DioriteFlowerPotBlockEntity.getModelData()
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) -
Uses of IModelData in net.minecraftforge.debug.client.rendering
Modifier and TypeFieldDescriptionprivate static IRenderable<IModelData>
RenderableTest.Client.bakedRenderable