Uses of Interface
net.minecraft.client.resources.model.BakedModel
Package
Description
-
Uses of BakedModel in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate it.unimi.dsi.fastutil.ints.Int2ObjectMap<BakedModel>
ItemModelShaper.shapesCache
Modifier and TypeMethodDescriptionItemModelShaper.getItemModel(Item p_109395_)
ItemModelShaper.getItemModel(ItemStack p_109407_)
-
Uses of BakedModel in net.minecraft.client.renderer.block
Modifier and TypeFieldDescriptionprivate Map<BlockState,BakedModel>
BlockModelShaper.modelByStateCache
Modifier and TypeMethodDescriptionBlockModelShaper.getBlockModel(BlockState p_110894_)
BlockRenderDispatcher.getBlockModel(BlockState p_110911_)
Modifier and TypeMethodDescriptionvoid
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_)
Deprecated.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)
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_)
Deprecated.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_)
Deprecated.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_)
Deprecated.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 BakedModel in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionBlockModel.bake(ModelBakery p_111457_, Function<Material,TextureAtlasSprite> p_111458_, ModelState p_111459_, ResourceLocation p_111460_)
Deprecated.BlockModel.bake(ModelBakery p_111450_, BlockModel p_111451_, Function<Material,TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_)
MultiVariant.bake(ModelBakery p_111850_, Function<Material,TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_)
private BakedModel
ItemOverrides.bakeModel(ModelBakery p_173471_, UnbakedModel p_173472_, Function<ResourceLocation,UnbakedModel> p_173473_, Function<Material,TextureAtlasSprite> textureGetter, ItemOverride p_173474_)
BlockModel.bakeVanilla(ModelBakery p_111450_, BlockModel p_111451_, Function<Material,TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_)
Deprecated.ItemOverrides.resolve(BakedModel p_173465_, ItemStack p_173466_, ClientLevel p_173467_, LivingEntity p_173468_, int p_173469_)
Modifier and TypeMethodDescriptionItemOverrides.resolve(BakedModel p_173465_, ItemStack p_173466_, ClientLevel p_173467_, LivingEntity p_173468_, int p_173469_)
ModifierConstructorDescription(package private)
BakedOverride(ItemOverrides.PropertyMatcher[] p_173483_, BakedModel p_173484_)
-
Uses of BakedModel in net.minecraft.client.renderer.block.model.multipart
Modifier and TypeMethodDescriptionMultiPart.bake(ModelBakery p_111971_, Function<Material,TextureAtlasSprite> p_111972_, ModelState p_111973_, ResourceLocation p_111974_)
-
Uses of BakedModel in net.minecraft.client.renderer.entity
Modifier and TypeMethodDescriptionItemRenderer.getModel(ItemStack p_174265_, Level p_174266_, LivingEntity p_174267_, int p_174268_)
Modifier and TypeMethodDescriptionvoid
ItemRenderer.render(ItemStack p_115144_, ItemTransforms.TransformType p_115145_, boolean p_115146_, PoseStack p_115147_, MultiBufferSource p_115148_, int p_115149_, int p_115150_, BakedModel p_115151_)
protected void
ItemRenderer.renderGuiItem(ItemStack p_115128_, int p_115129_, int p_115130_, BakedModel p_115131_)
void
ItemRenderer.renderModelLists(BakedModel p_115190_, ItemStack p_115191_, int p_115192_, int p_115193_, PoseStack p_115194_, VertexConsumer p_115195_)
-
Uses of BakedModel in net.minecraft.client.renderer.entity.layers
Modifier and TypeMethodDescriptionprivate void
MushroomCowMushroomLayer.renderMushroomBlock(PoseStack p_174502_, MultiBufferSource p_174503_, int p_174504_, boolean p_174505_, BlockRenderDispatcher p_174506_, BlockState p_174507_, int p_174508_, BakedModel p_174509_)
-
Uses of BakedModel in net.minecraft.client.resources.model
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeFieldDescriptionprivate BakedModel
MultiPartBakedModel.defaultModel
private BakedModel
ModelManager.missingModel
private BakedModel
WeightedBakedModel.wrapped
Modifier and TypeFieldDescriptionprivate Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation,Transformation,Boolean>,BakedModel>
ModelBakery.bakedCache
private Map<ResourceLocation,BakedModel>
ModelManager.bakedRegistry
private Map<ResourceLocation,BakedModel>
ModelBakery.bakedTopLevelModels
private List<WeightedEntry.Wrapper<BakedModel>>
WeightedBakedModel.Builder.list
private List<WeightedEntry.Wrapper<BakedModel>>
WeightedBakedModel.list
private List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,BakedModel>>
MultiPartBakedModel.Builder.selectors
private List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,BakedModel>>
MultiPartBakedModel.selectors
Modifier and TypeMethodDescriptionModelBakery.bake(ResourceLocation p_119350_, ModelState p_119351_)
Deprecated.ModelBakery.bake(ResourceLocation p_119350_, ModelState p_119351_, Function<Material,TextureAtlasSprite> sprites)
UnbakedModel.bake(ModelBakery p_119534_, Function<Material,TextureAtlasSprite> p_119535_, ModelState p_119536_, ResourceLocation p_119537_)
MultiPartBakedModel.Builder.build()
SimpleBakedModel.Builder.build()
WeightedBakedModel.Builder.build()
ModelManager.getMissingModel()
ModelManager.getModel(ModelResourceLocation p_119423_)
ModelManager.getModel(ResourceLocation modelLocation)
MultiPartBakedModel.handlePerspective(ItemTransforms.TransformType transformType, PoseStack poseStack)
WeightedBakedModel.handlePerspective(ItemTransforms.TransformType transformType, PoseStack poseStack)
Modifier and TypeMethodDescriptionvoid
MultiPartBakedModel.Builder.add(Predicate<BlockState> p_119478_, BakedModel p_119479_)
WeightedBakedModel.Builder.add(BakedModel p_119560_, int p_119561_)
ModifierConstructorDescriptionMultiPartBakedModel(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,BakedModel>> p_119462_)
WeightedBakedModel(List<WeightedEntry.Wrapper<BakedModel>> p_119544_)
-
Uses of BakedModel in net.minecraftforge.client
Modifier and TypeFieldDescription(package private) Map<IRegistryDelegate<Item>,BakedModel>
ItemModelMesherForge.models
Modifier and TypeMethodDescriptionItemModelMesherForge.getItemModel(Item item)
static BakedModel
ForgeHooksClient.handleCameraTransforms(PoseStack matrixStack, BakedModel model, ItemTransforms.TransformType cameraTransformType, boolean leftHandHackery)
static BakedModel
ForgeHooksClient.handlePerspective(BakedModel model, ItemTransforms.TransformType type, PoseStack stack)
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.drawItemLayered(ItemRenderer renderer, BakedModel modelIn, ItemStack itemStackIn, PoseStack matrixStackIn, MultiBufferSource bufferIn, int combinedLightIn, int combinedOverlayIn, boolean fabulous)
static BakedModel
ForgeHooksClient.handleCameraTransforms(PoseStack matrixStack, BakedModel model, ItemTransforms.TransformType cameraTransformType, boolean leftHandHackery)
static BakedModel
ForgeHooksClient.handlePerspective(BakedModel model, ItemTransforms.TransformType type, PoseStack stack)
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.onModelBake(ModelManager modelManager, Map<ResourceLocation,BakedModel> modelRegistry, ModelLoader modelLoader)
-
Uses of BakedModel in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,BakedModel>
ModelBakeEvent.modelRegistry
ModifierConstructorDescriptionModelBakeEvent(ModelManager modelManager, Map<ResourceLocation,BakedModel> modelRegistry, ModelLoader modelLoader)
-
Uses of BakedModel in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault BakedModel
IForgeBakedModel.handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
private BakedModel
IForgeBakedModel.self()
Modifier and TypeMethodDescriptiondefault List<com.mojang.datafixers.util.Pair<BakedModel,RenderType>>
IForgeBakedModel.getLayerModels(ItemStack itemStack, boolean fabulous)
If returns true, this is called to get the list of layers to draw. -
Uses of BakedModel in net.minecraftforge.client.model
Modifier and TypeClassDescriptionclass
static class
BakedItemModel.BakedGuiItemModel<T extends BakedItemModel>
class
BakedModelWrapper<T extends BakedModel>
class
private static class
private static class
class
private static class
class
static class
Modifier and TypeFieldDescriptionprivate BakedModel
SeparatePerspectiveModel.BakedModel.baseModel
protected BakedModel
BakedItemModel.guiModel
protected T
BakedModelWrapper.originalModel
private BakedModel
PerspectiveMapWrapper.parent
Modifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableMap<String,BakedModel>
CompositeModel.bakedParts
private com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<BakedModel,RenderType>>
ItemMultiLayerBakedModel.Builder.builder
private Map<String,BakedModel>
DynamicBucketModel.ContainedFluidOverrideHandler.cache
private List<com.mojang.datafixers.util.Pair<BakedModel,RenderType>>
MultiLayerModel.MultiLayerBakedModel.itemLayers
private com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<BakedModel,RenderType>>
ItemMultiLayerBakedModel.layerModels
private com.google.common.collect.ImmutableMap<RenderType,BakedModel>
MultiLayerModel.MultiLayerBakedModel.models
private com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,BakedModel>
SeparatePerspectiveModel.BakedModel.perspectives
Modifier and TypeMethodDescriptionBlockModelConfiguration.bake(ModelBakery bakery, Function<Material,TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
CompositeModel.Geometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
DynamicBucketModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
FluidModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
ItemLayerModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
MultiLayerModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
SeparatePerspectiveModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
static BakedModel
ModelLoaderRegistry.bakeHelper(BlockModel blockModel, ModelBakery modelBakery, BlockModel otherModel, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation, boolean guiLight3d)
CompositeModel.Submodel.bakeModel(ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
IModelBuilder.build()
IModelBuilder.Simple.build()
ItemMultiLayerBakedModel.Builder.build()
BakedItemModel.BakedGuiItemModel.handlePerspective(ItemTransforms.TransformType type, PoseStack poseStack)
BakedItemModel.handlePerspective(ItemTransforms.TransformType type, PoseStack poseStack)
BakedModelWrapper.handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
CompositeModel.handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
FluidModel.BakedFluid.handlePerspective(ItemTransforms.TransformType type, PoseStack poseStack)
ItemMultiLayerBakedModel.handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
MultiLayerModel.MultiLayerBakedModel.handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
PerspectiveMapWrapper.handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
static BakedModel
PerspectiveMapWrapper.handlePerspective(BakedModel model, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms, ItemTransforms.TransformType cameraTransformType, PoseStack mat)
static BakedModel
PerspectiveMapWrapper.handlePerspective(BakedModel model, ModelState state, ItemTransforms.TransformType cameraTransformType, PoseStack mat)
SeparatePerspectiveModel.BakedModel.handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
DynamicBucketModel.ContainedFluidOverrideHandler.resolve(BakedModel originalModel, ItemStack stack, ClientLevel world, LivingEntity entity, int seed)
PerspectiveMapWrapper.OverrideListWrapper.resolve(BakedModel model, ItemStack stack, ClientLevel worldIn, LivingEntity entityIn, int seed)
Modifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<RenderType,BakedModel>>
MultiLayerModel.buildModels(List<com.mojang.datafixers.util.Pair<RenderType,UnbakedModel>> models, ModelState modelTransform, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ResourceLocation modelLocation)
List<com.mojang.datafixers.util.Pair<BakedModel,RenderType>>
ItemMultiLayerBakedModel.getLayerModels(ItemStack itemStack, boolean fabulous)
List<com.mojang.datafixers.util.Pair<BakedModel,RenderType>>
MultiLayerModel.MultiLayerBakedModel.getLayerModels(ItemStack itemStack, boolean fabulous)
Modifier and TypeMethodDescriptionstatic BakedModel
PerspectiveMapWrapper.handlePerspective(BakedModel model, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms, ItemTransforms.TransformType cameraTransformType, PoseStack mat)
static BakedModel
PerspectiveMapWrapper.handlePerspective(BakedModel model, ModelState state, ItemTransforms.TransformType cameraTransformType, PoseStack mat)
DynamicBucketModel.ContainedFluidOverrideHandler.resolve(BakedModel originalModel, ItemStack stack, ClientLevel world, LivingEntity entity, int seed)
PerspectiveMapWrapper.OverrideListWrapper.resolve(BakedModel model, ItemStack stack, ClientLevel worldIn, LivingEntity entityIn, int seed)
Modifier and TypeMethodDescriptionprivate void
ItemMultiLayerBakedModel.Builder.addLayer(com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<BakedModel,RenderType>> builder, List<BakedQuad> quads, RenderType rt)
void
ModelLoader.onPostBakeEvent(Map<ResourceLocation,BakedModel> modelRegistry)
Internal, do not use.ModifierConstructorDescriptionBakedModel(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, BakedModel baseModel, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,BakedModel> perspectives)
PerspectiveMapWrapper(BakedModel parent, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> transforms)
PerspectiveMapWrapper(BakedModel parent, ModelState state)
ModifierConstructorDescriptionBakedModel(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, BakedModel baseModel, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,BakedModel> perspectives)
CompositeModel(boolean isGui3d, boolean isSideLit, boolean isAmbientOcclusion, TextureAtlasSprite particle, com.google.common.collect.ImmutableMap<String,BakedModel> bakedParts, ModelState combinedTransform, ItemOverrides overrides)
ItemMultiLayerBakedModel(boolean smoothLighting, boolean shadedInGui, boolean sideLit, TextureAtlasSprite particle, ItemOverrides overrides, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<BakedModel,RenderType>> layerModels)
MultiLayerBakedModel(boolean ambientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrides overrides, boolean convertRenderTypes, List<com.mojang.datafixers.util.Pair<RenderType,BakedModel>> models, com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> cameraTransforms)
-
Uses of BakedModel in net.minecraftforge.client.model.animation
Modifier and TypeMethodDescriptionAnimationItemOverrideList.resolve(BakedModel originalModel, ItemStack stack, ClientLevel world, LivingEntity entity, int seed)
Modifier and TypeMethodDescriptionAnimationItemOverrideList.resolve(BakedModel originalModel, ItemStack stack, ClientLevel world, LivingEntity entity, int seed)
-
Uses of BakedModel in net.minecraftforge.client.model.b3d
Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.bake(ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
B3DLoader.BakedWrapper.handlePerspective(ItemTransforms.TransformType cameraTransformType, PoseStack poseStack)
-
Uses of BakedModel in net.minecraftforge.client.model.data
Modifier and TypeInterfaceDescriptioninterface
Convenience interface with default implementation ofIForgeBakedModel.getQuads(BlockState, Direction, Random, IModelData)
.Modifier and TypeMethodDescriptionMultipartModelData.getPartData(BakedModel part, IModelData defaultData)
static IModelData
MultipartModelData.resolve(BakedModel part, IModelData modelData)
void
MultipartModelData.setPartData(BakedModel part, IModelData data)
Modifier and TypeMethodDescriptionstatic IModelData
MultipartModelData.create(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,BakedModel>> selectors, BlockAndTintGetter world, BlockPos pos, BlockState state, IModelData tileData)
-
Uses of BakedModel in net.minecraftforge.client.model.geometry
Modifier and TypeMethodDescriptionIModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
default BakedModel
ISimpleModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
-
Uses of BakedModel in net.minecraftforge.client.model.pipeline
Modifier and TypeMethodDescriptionstatic boolean
ForgeBlockModelRenderer.render(VertexLighterFlat lighter, BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, boolean checkSides, Random rand, long seed, IModelData modelData)
boolean
ForgeBlockModelRenderer.tesselateWithAO(BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData)
boolean
ForgeBlockModelRenderer.tesselateWithoutAO(BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData)
-
Uses of BakedModel in net.minecraftforge.debug.block
Modifier and TypeClassDescriptionprivate static class
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
-
Uses of BakedModel in net.minecraftforge.debug.client.model