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
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_249651_, ResourceLocation p_251408_) -
Method Summary
Modifier and TypeMethodDescriptionbake
(ResourceLocation p_252176_, ModelState p_249765_) bake
(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) getModel
(ResourceLocation p_248568_)
-
Field Details
-
modelTextureGetter
-
-
Constructor Details
-
ModelBakerImpl
ModelBakerImpl(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_249651_, ResourceLocation p_251408_)
-
-
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
-