Uses of Class
net.minecraftforge.client.model.data.ModelData
Package
Description
Extension interfaces for
client
-only classes.-
Uses of ModelData in net.minecraft.client.renderer.block
Modifier and TypeMethodDescriptionvoid
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, VertexConsumer p_234360_, boolean p_234361_, RandomSource p_234362_, ModelData modelData, RenderType renderType) void
BlockRenderDispatcher.renderBatched
(BlockState p_234356_, BlockPos p_234357_, BlockAndTintGetter p_234358_, PoseStack p_234359_, VertexConsumer p_234360_, boolean p_234361_, RandomSource p_234362_, ModelData modelData, RenderType renderType, boolean queryModelSpecificData) void
BlockRenderDispatcher.renderBreakingTexture
(BlockState p_110919_, BlockPos p_110920_, BlockAndTintGetter p_110921_, PoseStack p_110922_, VertexConsumer p_110923_, ModelData 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_, ModelData modelData, RenderType renderType) void
BlockRenderDispatcher.renderSingleBlock
(BlockState p_110913_, PoseStack p_110914_, MultiBufferSource p_110915_, int p_110916_, int p_110917_, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_111048_, BakedModel p_111049_, BlockState p_111050_, BlockPos p_111051_, PoseStack p_111052_, VertexConsumer p_111053_, boolean p_111054_, RandomSource p_111055_, long p_111056_, int p_111057_, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateBlock
(BlockAndTintGetter p_111048_, BakedModel p_111049_, BlockState p_111050_, BlockPos p_111051_, PoseStack p_111052_, VertexConsumer p_111053_, boolean p_111054_, RandomSource p_111055_, long p_111056_, int p_111057_, ModelData modelData, RenderType renderType, boolean queryModelSpecificData) void
ModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter p_111079_, BakedModel p_111080_, BlockState p_111081_, BlockPos p_111082_, PoseStack p_111083_, VertexConsumer p_111084_, boolean p_111085_, RandomSource p_111086_, long p_111087_, int p_111088_, ModelData modelData, RenderType renderType) void
ModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter p_111091_, BakedModel p_111092_, BlockState p_111093_, BlockPos p_111094_, PoseStack p_111095_, VertexConsumer p_111096_, boolean p_111097_, RandomSource p_111098_, long p_111099_, int p_111100_, ModelData modelData, RenderType renderType) -
Uses of ModelData in net.minecraft.client.renderer.chunk
Modifier and TypeMethodDescriptionChunkRenderDispatcher.RenderChunk.ChunkCompileTask.getModelData
(BlockPos pos) -
Uses of ModelData in net.minecraft.client.resources.model
Modifier and TypeMethodDescriptionMultiPartBakedModel.getParticleIcon
(ModelData modelData) WeightedBakedModel.getParticleIcon
(ModelData modelData) MultiPartBakedModel.getQuads
(BlockState p_235050_, Direction p_235051_, RandomSource p_235052_, ModelData modelData, RenderType renderType) WeightedBakedModel.getQuads
(BlockState p_235058_, Direction p_235059_, RandomSource p_235060_, ModelData modelData, RenderType renderType) MultiPartBakedModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, ModelData data) SimpleBakedModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, ModelData data) WeightedBakedModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, ModelData data) -
Uses of ModelData in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault @NotNull ModelData
IForgeBakedModel.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) Modifier and TypeMethodDescriptiondefault @NotNull ModelData
IForgeBakedModel.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) default TextureAtlasSprite
IForgeBakedModel.getParticleIcon
(@NotNull ModelData data) IForgeBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) A nullRenderType
is used for the breaking overlay as well as non-standard rendering, so models should return all their quads.default ChunkRenderTypeSet
IForgeBakedModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) Gets the set ofrender types
to use when drawing this block in the level. -
Uses of ModelData in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionCompositeModel.Data.Builder.partData
CompositeModel.Data.partData
Modifier and TypeMethodDescription@Nullable ModelData
@NotNull ModelData
BakedModelWrapper.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) @NotNull ModelData
CompositeModel.Baked.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) static ModelData
Helper to get the data from aModelData
instance.Modifier and TypeMethodDescription@NotNull ModelData
BakedModelWrapper.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) @NotNull ModelData
CompositeModel.Baked.getModelData
(@NotNull BlockAndTintGetter level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull ModelData modelData) BakedModelWrapper.getParticleIcon
(@NotNull ModelData data) BakedModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData extraData, @Nullable RenderType renderType) CompositeModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) IDynamicBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData extraData, @Nullable RenderType renderType) SeparateTransformsModel.Baked.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) BakedModelWrapper.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) CompositeModel.Baked.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) SeparateTransformsModel.Baked.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) static ModelData
Helper to get the data from aModelData
instance. -
Uses of ModelData in net.minecraftforge.client.model.data
Modifier and TypeFieldDescriptionModelDataManager.modelDataCache
private final Map<BakedModel,
ModelData> MultipartModelData.Builder.partData
private final Map<BakedModel,
ModelData> MultipartModelData.partData
Modifier and TypeMethodDescriptionModelData.Builder.build()
@Nullable ModelData
MultipartModelData.get
(BakedModel model) @Nullable ModelData
static ModelData
MultipartModelData.resolve
(ModelData modelData, BakedModel model) Helper to get the data from aModelData
instance.Modifier and TypeMethodDescriptionstatic ModelData
MultipartModelData.resolve
(ModelData modelData, BakedModel model) Helper to get the data from aModelData
instance.MultipartModelData.Builder.with
(BakedModel model, ModelData data) -
Uses of ModelData in net.minecraftforge.client.model.lighting
Modifier and TypeMethodDescriptionstatic boolean
ForgeModelBlockRenderer.render
(VertexConsumer vertexConsumer, QuadLighter lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
ForgeModelBlockRenderer.tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) void
ForgeModelBlockRenderer.tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer vertexConsumer, boolean checkSides, RandomSource rand, long seed, int packedOverlay, ModelData modelData, RenderType renderType) -
Uses of ModelData in net.minecraftforge.client.model.renderable
Modifier and TypeFieldDescriptionprivate final ModelData
BakedModelRenderable.Context.data
The field for thedata
record component.Modifier and TypeMethodDescriptionBakedModelRenderable.Context.data()
Returns the value of thedata
record component.ModifierConstructorDescriptionContext
(@Nullable BlockState state, Direction[] faces, RandomSource randomSource, long seed, ModelData data, org.joml.Vector4f tint) Creates an instance of aContext
record class. -
Uses of ModelData in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault @NotNull ModelData
IForgeBlockEntity.getModelData()
Allows you to return additional model data. -
Uses of ModelData in net.minecraftforge.debug.block
Modifier and TypeFieldDescriptionprivate ModelData
FullPotsAccessorDemo.DioriteFlowerPotBlockEntity.modelData
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.DioriteFlowerPotBlockEntity.getModelData()
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData extraData, @Nullable RenderType renderType) FullPotsAccessorDemo.ClientHandler.DioritePotModel.getRenderTypes
(@NotNull BlockState state, @NotNull RandomSource rand, @NotNull ModelData data) -
Uses of ModelData in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescription@NotNull ModelData
MegaModelTest.TestBlock.Entity.getModelData()
Modifier and TypeMethodDescriptionMegaModelTest.TransformingModelWrapper.getQuads
(@Nullable BlockState state, @Nullable Direction side, @NotNull RandomSource rand, @NotNull ModelData data, @Nullable RenderType renderType) TRSRTransformerTest.MyBakedModel.getQuads
(@Nullable BlockState state, @Nullable Direction side, RandomSource rand, ModelData data, @Nullable RenderType renderType) -
Uses of ModelData in net.minecraftforge.debug.client.rendering
Modifier and TypeFieldDescriptionprivate static IRenderable<ModelData>
RenderableTest.Client.bakedRenderable