Class ModelBakery.ModelBakerImpl
java.lang.Object
net.minecraft.client.resources.model.ModelBakery.ModelBakerImpl
- All Implemented Interfaces:
ModelBaker
,IForgeModelBaker
- Enclosing class:
ModelBakery
-
Field Summary
-
Constructor Summary
ConstructorDescriptionModelBakerImpl
(ModelBakery.TextureGetter p_342310_, ModelResourceLocation p_344289_) -
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_343761_, ModelState p_342939_) (package private) BakedModel
bakeUncached
(UnbakedModel p_343761_, ModelState p_342939_, Function<Material, TextureAtlasSprite> sprites) getModel
(ResourceLocation p_248568_)
-
Field Details
-
modelTextureGetter
-
-
Constructor Details
-
ModelBakerImpl
ModelBakerImpl(ModelBakery.TextureGetter p_342310_, ModelResourceLocation p_344289_)
-
-
Method Details
-
getModel
- Specified by:
getModel
in interfaceModelBaker
-
getModelTextureGetter
- Specified by:
getModelTextureGetter
in interfaceIForgeModelBaker
-
bake
- Specified by:
bake
in interfaceModelBaker
-
bake
public BakedModel bake(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) - Specified by:
bake
in interfaceIForgeModelBaker
-
bakeUncached
-
bakeUncached
@Nullable BakedModel bakeUncached(UnbakedModel p_343761_, ModelState p_342939_, Function<Material, TextureAtlasSprite> sprites)
-