public class OBJModel.ModelObject extends java.lang.Object implements IModelGeometryPart
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<OBJModel.ModelMesh> |
meshes |
java.lang.String |
name |
Constructor and Description |
---|
ModelObject(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
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) |
java.lang.String |
name() |
public final java.lang.String name
java.util.List<OBJModel.ModelMesh> meshes
public java.lang.String name()
name
in interface IModelGeometryPart
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, java.util.function.Function<Material,TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation)
addQuads
in interface IModelGeometryPart
public 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)
getTextures
in interface IModelGeometryPart