public interface IModelGeometry<T extends IModelGeometry<T>>
IUnbakedModel
.
Models can be baked to different vertex formats and with different state.Modifier and Type | Method and Description |
---|---|
IBakedModel |
bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ItemOverrideList overrides,
ResourceLocation modelLocation) |
default java.util.Optional<? extends IModelGeometryPart> |
getPart(java.lang.String name) |
default java.util.Collection<? extends IModelGeometryPart> |
getParts() |
java.util.Collection<Material> |
getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
default java.util.Collection<? extends IModelGeometryPart> getParts()
default java.util.Optional<? extends IModelGeometryPart> getPart(java.lang.String name)
IBakedModel bake(IModelConfiguration owner, ModelBakery bakery, java.util.function.Function<Material,TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation)
java.util.Collection<Material> getTextures(IModelConfiguration owner, java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors)