Interface UnbakedModel
- All Known Implementing Classes:
JsonUnbakedModel
,MultipartUnbakedModel
,WeightedUnbakedModel
@Environment(CLIENT)
public interface UnbakedModel
-
Method Summary
Modifier and Type Method 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)
-
Method Details
-
getModelDependencies
Collection<Identifier> getModelDependencies() -
getTextureDependencies
Collection<SpriteIdentifier> getTextureDependencies(Function<Identifier,UnbakedModel> unbakedModelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> unresolvedTextureReferences) -
bake
@Nullable BakedModel bake(ModelLoader loader, Function<SpriteIdentifier,Sprite> textureGetter, ModelBakeSettings rotationContainer, Identifier modelId)
-