Uses of Interface
net.minecraft.client.renderer.model.IBakedModel
Package
Description
-
Uses of IBakedModel in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionprivate final Map<BlockState,
IBakedModel> BlockModelShapes.modelByStateCache
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<IBakedModel>
ItemModelMesher.shapesCache
Modifier and TypeMethodDescriptionBlockModelShapes.getBlockModel
(BlockState p_178125_1_) BlockRendererDispatcher.getBlockModel
(BlockState p_184389_1_) ItemModelMesher.getItemModel
(Item p_199312_1_) ItemModelMesher.getItemModel
(ItemStack p_178089_1_) ItemRenderer.getModel
(ItemStack p_184393_1_, World p_184393_2_, LivingEntity p_184393_3_) Modifier and TypeMethodDescriptionvoid
ItemRenderer.render
(ItemStack p_229111_1_, ItemCameraTransforms.TransformType p_229111_2_, boolean p_229111_3_, MatrixStack p_229111_4_, IRenderTypeBuffer p_229111_5_, int p_229111_6_, int p_229111_7_, IBakedModel p_229111_8_) protected void
ItemRenderer.renderGuiItem
(ItemStack p_191962_1_, int p_191962_2_, int p_191962_3_, IBakedModel p_191962_4_) 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_) Deprecated.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
BlockModelRenderer.renderModelFlat
(IBlockDisplayReader worldIn, IBakedModel modelIn, BlockState stateIn, BlockPos posIn, MatrixStack matrixStackIn, IVertexBuilder buffer, boolean checkSides, Random randomIn, long rand, int combinedOverlayIn, IModelData modelData) void
ItemRenderer.renderModelLists
(IBakedModel p_229114_1_, ItemStack p_229114_2_, int p_229114_3_, int p_229114_4_, MatrixStack p_229114_5_, IVertexBuilder p_229114_6_) 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) boolean
BlockModelRenderer.tesselateBlock
(IBlockDisplayReader p_228802_1_, IBakedModel p_228802_2_, BlockState p_228802_3_, BlockPos p_228802_4_, MatrixStack p_228802_5_, IVertexBuilder p_228802_6_, boolean p_228802_7_, Random p_228802_8_, long p_228802_9_, int p_228802_11_) Deprecated.boolean
BlockModelRenderer.tesselateWithAO
(IBlockDisplayReader p_228805_1_, IBakedModel p_228805_2_, BlockState p_228805_3_, BlockPos p_228805_4_, MatrixStack p_228805_5_, IVertexBuilder p_228805_6_, boolean p_228805_7_, Random p_228805_8_, long p_228805_9_, int p_228805_11_) Deprecated.boolean
BlockModelRenderer.tesselateWithoutAO
(IBlockDisplayReader p_228806_1_, IBakedModel p_228806_2_, BlockState p_228806_3_, BlockPos p_228806_4_, MatrixStack p_228806_5_, IVertexBuilder p_228806_6_, boolean p_228806_7_, Random p_228806_8_, long p_228806_9_, int p_228806_11_) Deprecated. -
Uses of IBakedModel in net.minecraft.client.renderer.model
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeFieldDescriptionprivate final IBakedModel
MultipartBakedModel.defaultModel
private IBakedModel
ModelManager.missingModel
protected final IBakedModel
WeightedBakedModel.WeightedModel.model
private final IBakedModel
WeightedBakedModel.wrapped
Modifier and TypeFieldDescriptionprivate final Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation,
TransformationMatrix, Boolean>, IBakedModel> ModelBakery.bakedCache
private Map<ResourceLocation,
IBakedModel> ModelManager.bakedRegistry
private final Map<ResourceLocation,
IBakedModel> ModelBakery.bakedTopLevelModels
private final List<IBakedModel>
ItemOverrideList.overrideModels
private final List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,
IBakedModel>> MultipartBakedModel.Builder.selectors
private final List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>,
IBakedModel>> MultipartBakedModel.selectors
Modifier and TypeMethodDescriptionBlockModel.bake
(ModelBakery p_225613_1_, Function<RenderMaterial, TextureAtlasSprite> p_225613_2_, IModelTransform p_225613_3_, ResourceLocation p_225613_4_) Deprecated.BlockModel.bake
(ModelBakery p_228813_1_, BlockModel p_228813_2_, Function<RenderMaterial, TextureAtlasSprite> p_228813_3_, IModelTransform p_228813_4_, ResourceLocation p_228813_5_, boolean p_228813_6_) IUnbakedModel.bake
(ModelBakery p_225613_1_, Function<RenderMaterial, TextureAtlasSprite> p_225613_2_, IModelTransform p_225613_3_, ResourceLocation p_225613_4_) ModelBakery.bake
(ResourceLocation p_217845_1_, IModelTransform p_217845_2_) Deprecated.VariantList.bake
(ModelBakery p_225613_1_, Function<RenderMaterial, TextureAtlasSprite> p_225613_2_, IModelTransform p_225613_3_, ResourceLocation p_225613_4_) BlockModel.bakeVanilla
(ModelBakery p_228813_1_, BlockModel p_228813_2_, Function<RenderMaterial, TextureAtlasSprite> p_228813_3_, IModelTransform p_228813_4_, ResourceLocation p_228813_5_, boolean p_228813_6_) Deprecated.MultipartBakedModel.Builder.build()
SimpleBakedModel.Builder.build()
WeightedBakedModel.Builder.build()
ModelBakery.getBakedModel
(ResourceLocation p_217845_1_, IModelTransform p_217845_2_, Function<RenderMaterial, TextureAtlasSprite> textureGetter) ModelManager.getMissingModel()
ModelManager.getModel
(ModelResourceLocation p_174953_1_) ModelManager.getModel
(ResourceLocation modelLocation) MultipartBakedModel.handlePerspective
(ItemCameraTransforms.TransformType transformType, MatrixStack matrixStack) WeightedBakedModel.handlePerspective
(ItemCameraTransforms.TransformType transformType, MatrixStack matrixStack) ItemOverrideList.resolve
(IBakedModel p_239290_1_, ItemStack p_239290_2_, ClientWorld p_239290_3_, LivingEntity p_239290_4_) Modifier and TypeMethodDescriptionvoid
MultipartBakedModel.Builder.add
(Predicate<BlockState> p_188648_1_, IBakedModel p_188648_2_) WeightedBakedModel.Builder.add
(IBakedModel p_177677_1_, int p_177677_2_) ItemOverrideList.resolve
(IBakedModel p_239290_1_, ItemStack p_239290_2_, ClientWorld p_239290_3_, LivingEntity p_239290_4_) ModifierConstructorDescriptionMultipartBakedModel
(List<org.apache.commons.lang3.tuple.Pair<Predicate<BlockState>, IBakedModel>> p_i48273_1_) -
Uses of IBakedModel in net.minecraft.client.renderer.model.multipart
Modifier and TypeMethodDescriptionMultipart.bake
(ModelBakery p_225613_1_, Function<RenderMaterial, TextureAtlasSprite> p_225613_2_, IModelTransform p_225613_3_, ResourceLocation p_225613_4_) -
Uses of IBakedModel in net.minecraftforge.client
Modifier and TypeFieldDescription(package private) final Map<IRegistryDelegate<Item>,
IBakedModel> ItemModelMesherForge.models
Modifier and TypeMethodDescriptionItemModelMesherForge.getItemModel
(Item item) static IBakedModel
ForgeHooksClient.handleCameraTransforms
(MatrixStack matrixStack, IBakedModel model, ItemCameraTransforms.TransformType cameraTransformType, boolean leftHandHackery) static IBakedModel
ForgeHooksClient.handlePerspective
(IBakedModel model, ItemCameraTransforms.TransformType type, MatrixStack stack) Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.drawItemLayered
(ItemRenderer renderer, IBakedModel modelIn, ItemStack itemStackIn, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int combinedLightIn, int combinedOverlayIn, boolean fabulous) static IBakedModel
ForgeHooksClient.handleCameraTransforms
(MatrixStack matrixStack, IBakedModel model, ItemCameraTransforms.TransformType cameraTransformType, boolean leftHandHackery) static IBakedModel
ForgeHooksClient.handlePerspective
(IBakedModel model, ItemCameraTransforms.TransformType type, MatrixStack stack) Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.onModelBake
(ModelManager modelManager, Map<ResourceLocation, IBakedModel> modelRegistry, ModelLoader modelLoader) -
Uses of IBakedModel in net.minecraftforge.client.event
Modifier and TypeFieldDescriptionprivate final Map<ResourceLocation,
IBakedModel> ModelBakeEvent.modelRegistry
ModifierConstructorDescriptionModelBakeEvent
(ModelManager modelManager, Map<ResourceLocation, IBakedModel> modelRegistry, ModelLoader modelLoader) -
Uses of IBakedModel in net.minecraftforge.client.extensions
Modifier and TypeMethodDescriptiondefault IBakedModel
IForgeBakedModel.getBakedModel()
default IBakedModel
IForgeBakedModel.handlePerspective
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) Modifier and TypeMethodDescriptiondefault List<com.mojang.datafixers.util.Pair<IBakedModel,
RenderType>> IForgeBakedModel.getLayerModels
(ItemStack itemStack, boolean fabulous) If returns true, this is called to get the list of layers to draw. -
Uses of IBakedModel in net.minecraftforge.client.model
Modifier and TypeClassDescriptionclass
static class
BakedItemModel.BakedGuiItemModel<T extends BakedItemModel>
class
BakedModelWrapper<T extends IBakedModel>
class
private static class
private static final class
class
private static final class
class
static class
Modifier and TypeFieldDescriptionprivate final IBakedModel
SeparatePerspectiveModel.BakedModel.baseModel
protected final IBakedModel
BakedItemModel.guiModel
protected final T
BakedModelWrapper.originalModel
private final IBakedModel
PerspectiveMapWrapper.parent
Modifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableMap<String,
IBakedModel> CompositeModel.bakedParts
private final com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<IBakedModel,
RenderType>> ItemMultiLayerBakedModel.Builder.builder
private final Map<String,
IBakedModel> DynamicBucketModel.ContainedFluidOverrideHandler.cache
private final List<com.mojang.datafixers.util.Pair<IBakedModel,
RenderType>> MultiLayerModel.MultiLayerBakedModel.itemLayers
private final com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<IBakedModel,
RenderType>> ItemMultiLayerBakedModel.layerModels
private final com.google.common.collect.ImmutableMap<RenderType,
IBakedModel> MultiLayerModel.MultiLayerBakedModel.models
private final com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType,
IBakedModel> SeparatePerspectiveModel.BakedModel.perspectives
Modifier and TypeMethodDescriptionBlockModelConfiguration.bake
(ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> bakedTextureGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) CompositeModel.Geometry.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) DynamicBucketModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) FluidModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) ItemLayerModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) MultiLayerModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) SeparatePerspectiveModel.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) static IBakedModel
ModelLoaderRegistry.bakeHelper
(BlockModel blockModel, ModelBakery modelBakery, BlockModel otherModel, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation, boolean guiLight3d) CompositeModel.Submodel.bakeModel
(ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) IModelBuilder.build()
IModelBuilder.Simple.build()
ItemMultiLayerBakedModel.Builder.build()
BakedItemModel.BakedGuiItemModel.handlePerspective
(ItemCameraTransforms.TransformType type, MatrixStack mat) BakedItemModel.handlePerspective
(ItemCameraTransforms.TransformType type, MatrixStack mat) BakedModelWrapper.handlePerspective
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) CompositeModel.handlePerspective
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) FluidModel.BakedFluid.handlePerspective
(ItemCameraTransforms.TransformType type, MatrixStack mat) ItemMultiLayerBakedModel.handlePerspective
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) MultiLayerModel.MultiLayerBakedModel.handlePerspective
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) static IBakedModel
PerspectiveMapWrapper.handlePerspective
(IBakedModel model, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> transforms, ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) static IBakedModel
PerspectiveMapWrapper.handlePerspective
(IBakedModel model, IModelTransform state, ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) PerspectiveMapWrapper.handlePerspective
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) SeparatePerspectiveModel.BakedModel.handlePerspective
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) DynamicBucketModel.ContainedFluidOverrideHandler.resolve
(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity) PerspectiveMapWrapper.OverrideListWrapper.resolve
(IBakedModel model, ItemStack stack, ClientWorld worldIn, LivingEntity entityIn) Modifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<RenderType,
IBakedModel>> MultiLayerModel.buildModels
(List<com.mojang.datafixers.util.Pair<RenderType, IUnbakedModel>> models, IModelTransform modelTransform, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, ResourceLocation modelLocation) List<com.mojang.datafixers.util.Pair<IBakedModel,
RenderType>> ItemMultiLayerBakedModel.getLayerModels
(ItemStack itemStack, boolean fabulous) List<com.mojang.datafixers.util.Pair<IBakedModel,
RenderType>> MultiLayerModel.MultiLayerBakedModel.getLayerModels
(ItemStack itemStack, boolean fabulous) Modifier and TypeMethodDescriptionstatic IBakedModel
PerspectiveMapWrapper.handlePerspective
(IBakedModel model, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> transforms, ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) static IBakedModel
PerspectiveMapWrapper.handlePerspective
(IBakedModel model, IModelTransform state, ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) DynamicBucketModel.ContainedFluidOverrideHandler.resolve
(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity) PerspectiveMapWrapper.OverrideListWrapper.resolve
(IBakedModel model, ItemStack stack, ClientWorld worldIn, LivingEntity entityIn) Modifier and TypeMethodDescriptionprivate void
ItemMultiLayerBakedModel.Builder.addLayer
(com.google.common.collect.ImmutableList.Builder<com.mojang.datafixers.util.Pair<IBakedModel, RenderType>> builder, List<BakedQuad> quads, RenderType rt) void
ModelLoader.onPostBakeEvent
(Map<ResourceLocation, IBakedModel> modelRegistry) Internal, do not use.ModifierConstructorDescriptionBakedModel
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrideList overrides, IBakedModel baseModel, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, IBakedModel> perspectives) PerspectiveMapWrapper
(IBakedModel parent, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> transforms) PerspectiveMapWrapper
(IBakedModel parent, IModelTransform state) ModifierConstructorDescriptionBakedModel
(boolean isAmbientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrideList overrides, IBakedModel baseModel, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, IBakedModel> perspectives) CompositeModel
(boolean isGui3d, boolean isSideLit, boolean isAmbientOcclusion, TextureAtlasSprite particle, com.google.common.collect.ImmutableMap<String, IBakedModel> bakedParts, IModelTransform combinedTransform, ItemOverrideList overrides) ItemMultiLayerBakedModel
(boolean smoothLighting, boolean shadedInGui, boolean sideLit, TextureAtlasSprite particle, ItemOverrideList overrides, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> cameraTransforms, com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<IBakedModel, RenderType>> layerModels) MultiLayerBakedModel
(boolean ambientOcclusion, boolean isGui3d, boolean isSideLit, TextureAtlasSprite particle, ItemOverrideList overrides, boolean convertRenderTypes, List<com.mojang.datafixers.util.Pair<RenderType, IBakedModel>> models, com.google.common.collect.ImmutableMap<ItemCameraTransforms.TransformType, TransformationMatrix> cameraTransforms) -
Uses of IBakedModel in net.minecraftforge.client.model.animation
Modifier and TypeMethodDescriptionAnimationItemOverrideList.resolve
(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity) Modifier and TypeMethodDescriptionAnimationItemOverrideList.resolve
(IBakedModel originalModel, ItemStack stack, ClientWorld world, LivingEntity entity) -
Uses of IBakedModel in net.minecraftforge.client.model.b3d
Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.bake
(ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) B3DLoader.BakedWrapper.handlePerspective
(ItemCameraTransforms.TransformType cameraTransformType, MatrixStack mat) -
Uses of IBakedModel in net.minecraftforge.client.model.data
Modifier and TypeInterfaceDescriptioninterface
Convenience interface with default implementation ofgetQuads(net.minecraft.block.BlockState, net.minecraft.util.Direction, java.util.Random)
.Modifier and TypeFieldDescriptionprivate final Map<IBakedModel,
IModelData> MultipartModelData.partData
Modifier and TypeMethodDescriptionMultipartModelData.getPartData
(IBakedModel part, IModelData defaultData) static IModelData
MultipartModelData.resolve
(IBakedModel part, IModelData modelData) void
MultipartModelData.setPartData
(IBakedModel part, IModelData data) 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) -
Uses of IBakedModel in net.minecraftforge.client.model.geometry
Modifier and TypeMethodDescriptionIModelGeometry.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) default IBakedModel
ISimpleModelGeometry.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) -
Uses of IBakedModel 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 IBakedModel in net.minecraftforge.debug.block
Modifier and TypeClassDescriptionprivate static class
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) -
Uses of IBakedModel in net.minecraftforge.debug.client.model