Class ModelBakery.ModelBakerImpl
java.lang.Object
net.minecraft.client.resources.model.ModelBakery.ModelBakerImpl
- All Implemented Interfaces:
ModelBaker
,IModelBakerExtension
- Enclosing class:
ModelBakery
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModelBakerImpl
(ModelBakery.TextureGetter p_352124_, ModelResourceLocation p_352126_) -
Method Summary
Modifier and TypeMethodDescriptionbake
(ResourceLocation p_252176_, ModelState p_249765_) bake
(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) (package private) BakedModel
bakeUncached
(UnbakedModel p_352386_, ModelState p_352194_) bakeUncached
(UnbakedModel p_352386_, ModelState p_352194_, Function<Material, TextureAtlasSprite> sprites) getModel
(ResourceLocation p_248568_) getTopLevelModel
(ModelResourceLocation location)
-
Field Details
-
modelTextureGetter
-
-
Constructor Details
-
ModelBakerImpl
ModelBakerImpl(ModelBakery.TextureGetter p_352124_, ModelResourceLocation p_352126_)
-
-
Method Details
-
getModel
- Specified by:
getModel
in interfaceModelBaker
-
getTopLevelModel
- Specified by:
getTopLevelModel
in interfaceIModelBakerExtension
-
getModelTextureGetter
- Specified by:
getModelTextureGetter
in interfaceIModelBakerExtension
-
bake
- Specified by:
bake
in interfaceModelBaker
-
bake
public BakedModel bake(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) - Specified by:
bake
in interfaceIModelBakerExtension
-
bakeUncached
-
bakeUncached
@Nullable public BakedModel bakeUncached(UnbakedModel p_352386_, ModelState p_352194_, Function<Material, TextureAtlasSprite> sprites) - Specified by:
bakeUncached
in interfaceIModelBakerExtension
-