Uses of Class
net.minecraft.client.resources.model.ModelBakery
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of ModelBakery in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionprivate ModelBakery
ModelManager.modelBakery
private final ModelBakery
ModelManager.ReloadState.modelBakery
The field for themodelBakery
record component.Modifier and TypeMethodDescriptionModelManager.getModelBakery()
ModelManager.ReloadState.modelBakery()
Returns the value of themodelBakery
record component.Modifier and TypeMethodDescriptionprivate ModelManager.ReloadState
ModelManager.loadModels
(ProfilerFiller p_252136_, Map<ResourceLocation, AtlasSet.StitchResult> p_250646_, ModelBakery p_248945_) ModifierConstructorDescription(package private)
ReloadState
(ModelBakery modelBakery, BakedModel missingModel, Map<BlockState, BakedModel> modelCache, Map<ResourceLocation, AtlasSet.StitchResult> atlasPreparations, CompletableFuture<Void> readyForUpload) Creates an instance of aReloadState
record class. -
Uses of ModelBakery in net.neoforged.neoforge.client
Modifier and TypeMethodDescriptionstatic void
ClientHooks.onModelBake
(ModelManager modelManager, Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) static void
ClientHooks.onModifyBakingResult
(Map<ResourceLocation, BakedModel> models, Map<ResourceLocation, AtlasSet.StitchResult> stitchResults, ModelBakery modelBakery) -
Uses of ModelBakery in net.neoforged.neoforge.client.event
Modifier and TypeFieldDescriptionprivate final ModelBakery
ModelEvent.BakingCompleted.modelBakery
private final ModelBakery
ModelEvent.ModifyBakingResult.modelBakery
Modifier and TypeMethodDescriptionModelEvent.BakingCompleted.getModelBakery()
ModelEvent.ModifyBakingResult.getModelBakery()
ModifierConstructorDescriptionBakingCompleted
(ModelManager modelManager, Map<ResourceLocation, BakedModel> models, ModelBakery modelBakery) ModifyBakingResult
(Map<ResourceLocation, BakedModel> models, Function<Material, TextureAtlasSprite> textureGetter, ModelBakery modelBakery)