Uses of Interface
net.minecraft.client.render.model.BakedModel
Package
Description
-
Uses of BakedModel in net.minecraft.client.render.block
Modifier and TypeMethodDescriptionBlockModels.getModel
(BlockState state) BlockRenderManager.getModel
(BlockState state) Modifier and TypeMethodDescriptionvoid
BlockModelRenderer.render
(MatrixStack.Entry entry, VertexConsumer vertexConsumer, @Nullable BlockState state, BakedModel bakedModel, float red, float green, float blue, int light, int overlay) void
BlockModelRenderer.render
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) void
BlockModelRenderer.renderFlat
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) void
BlockModelRenderer.renderSmooth
(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay) -
Uses of BakedModel in net.minecraft.client.render.entity.feature
Modifier and TypeMethodDescriptionprivate void
MooshroomMushroomFeatureRenderer.renderMushroom
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, boolean renderAsModel, BlockState mushroomState, int overlay, BakedModel mushroomModel) -
Uses of BakedModel in net.minecraft.client.render.item
Modifier and TypeMethodDescriptionItemRenderer.getModel
(ItemStack stack, @Nullable World world, @Nullable LivingEntity entity, int seed) Modifier and TypeMethodDescriptionprivate void
ItemRenderer.renderBakedItemModel
(BakedModel model, ItemStack stack, int light, int overlay, MatrixStack matrices, VertexConsumer vertices) protected void
ItemRenderer.renderGuiItemModel
(ItemStack stack, int x, int y, BakedModel model) void
ItemRenderer.renderItem
(ItemStack stack, ModelTransformation.Mode renderMode, boolean leftHanded, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, int overlay, BakedModel model) -
Uses of BakedModel in net.minecraft.client.render.model
Modifier and TypeClassDescriptionclass
class
class
class
Modifier and TypeFieldDescriptionprivate final BakedModel
WeightedBakedModel.defaultModel
private final BakedModel
BakedModelManager.BakingResult.missingModel
The field for themissingModel
record component.private BakedModel
BakedModelManager.missingModel
Modifier and TypeFieldDescription(package private) final Map<ModelLoader.BakedModelCacheKey,
BakedModel> ModelLoader.bakedModelCache
private final Map<Identifier,
BakedModel> ModelLoader.bakedModels
private final List<Pair<Predicate<BlockState>,
BakedModel>> MultipartBakedModel.Builder.components
private final List<Pair<Predicate<BlockState>,
BakedModel>> MultipartBakedModel.components
private final Map<BlockState,
BakedModel> BakedModelManager.BakingResult.modelCache
The field for themodelCache
record component.private Map<Identifier,
BakedModel> BakedModelManager.models
private final List<Weighted.Present<BakedModel>>
WeightedBakedModel.Builder.models
private final List<Weighted.Present<BakedModel>>
WeightedBakedModel.models
Modifier and TypeMethodDescriptionBaker.bake
(Identifier id, ModelBakeSettings settings) ModelLoader.BakerImpl.bake
(Identifier id, ModelBakeSettings settings) MultipartUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) UnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) BasicBakedModel.Builder.build()
MultipartBakedModel.Builder.build()
WeightedBakedModel.Builder.build()
BakedModelManager.getMissingModel()
BakedModelManager.getModel
(ModelIdentifier id) BakedModelManager.BakingResult.missingModel()
Returns the value of themissingModel
record component.Modifier and TypeMethodDescriptionModelLoader.getBakedModelMap()
BakedModelManager.BakingResult.modelCache()
Returns the value of themodelCache
record component.Modifier and TypeMethodDescriptionWeightedBakedModel.Builder.add
(@Nullable BakedModel model, int weight) void
MultipartBakedModel.Builder.addComponent
(Predicate<BlockState> predicate, BakedModel model) ModifierConstructorDescription(package private)
BakingResult
(ModelLoader modelLoader, BakedModel bakedModel, Map<BlockState, BakedModel> map, Map<Identifier, SpriteAtlasManager.AtlasPreparation> map2, CompletableFuture<Void> completableFuture) ModifierConstructorDescription(package private)
BakingResult
(ModelLoader modelLoader, BakedModel bakedModel, Map<BlockState, BakedModel> map, Map<Identifier, SpriteAtlasManager.AtlasPreparation> map2, CompletableFuture<Void> completableFuture) MultipartBakedModel
(List<Pair<Predicate<BlockState>, BakedModel>> components) WeightedBakedModel
(List<Weighted.Present<BakedModel>> models) -
Uses of BakedModel in net.minecraft.client.render.model.json
Modifier and TypeFieldDescription(package private) final @Nullable BakedModel
ModelOverrideList.BakedOverride.model
Modifier and TypeMethodDescriptionModelOverrideList.apply
(BakedModel model, ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) JsonUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) JsonUnbakedModel.bake
(Baker baker, JsonUnbakedModel parent, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings settings, Identifier id, boolean hasDepth) WeightedUnbakedModel.bake
(Baker baker, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId) private @Nullable BakedModel
ModelOverrideList.bakeOverridingModel
(Baker baker, JsonUnbakedModel parent, ModelOverride override) Modifier and TypeMethodDescriptionModelOverrideList.apply
(BakedModel model, ItemStack stack, @Nullable ClientWorld world, @Nullable LivingEntity entity, int seed) ModifierConstructorDescription(package private)
BakedOverride
(ModelOverrideList.InlinedCondition[] conditions, @Nullable BakedModel model)