@Environment(value=CLIENT)
public interface UnbakedModel
Modifier and Type | Method and Description |
---|---|
BakedModel |
bake(ModelLoader loader,
Function<SpriteIdentifier,Sprite> textureGetter,
ModelBakeSettings rotationContainer,
Identifier modelId) |
Collection<Identifier> |
getModelDependencies() |
Collection<SpriteIdentifier> |
getTextureDependencies(Function<Identifier,UnbakedModel> unbakedModelGetter,
Set<com.mojang.datafixers.util.Pair<String,String>> unresolvedTextureReferences) |
Collection<Identifier> getModelDependencies()
Collection<SpriteIdentifier> getTextureDependencies(Function<Identifier,UnbakedModel> unbakedModelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> unresolvedTextureReferences)
@Nullable BakedModel bake(ModelLoader loader, Function<SpriteIdentifier,Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId)