Interface IModelBakerExtension
- All Known Subinterfaces:
ModelBaker
- All Known Implementing Classes:
ModelBakery.ModelBakerImpl
public interface IModelBakerExtension
-
Method Summary
Modifier and TypeMethodDescription@Nullable BakedModel
bake
(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) @Nullable BakedModel
bakeUncached
(UnbakedModel model, ModelState state, Function<Material, TextureAtlasSprite> sprites) @Nullable UnbakedModel
getTopLevelModel
(ModelResourceLocation location)
-
Method Details
-
getTopLevelModel
-
bake
@Nullable @Nullable BakedModel bake(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) -
bakeUncached
@Nullable @Nullable BakedModel bakeUncached(UnbakedModel model, ModelState state, Function<Material, TextureAtlasSprite> sprites) -
getModelTextureGetter
Function<Material,TextureAtlasSprite> getModelTextureGetter()
-