Class ModelBakery.ModelBakerImpl
java.lang.Object
net.minecraft.client.resources.model.ModelBakery.ModelBakerImpl
- All Implemented Interfaces:
ModelBaker,IModelBakerExtension
- Enclosing class:
ModelBakery
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionModelBakerImpl(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:
getModelin interfaceModelBaker
-
getModelTextureGetter
- Specified by:
getModelTextureGetterin interfaceIModelBakerExtension
-
bake
- Specified by:
bakein interfaceModelBaker
-
bake
public BakedModel bake(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) - Specified by:
bakein interfaceIModelBakerExtension
-