Class OBJModel.ModelObject
- java.lang.Object
-
- net.minecraftforge.client.model.obj.OBJModel.ModelObject
-
- All Implemented Interfaces:
IModelGeometryPart
- Direct Known Subclasses:
OBJModel.ModelGroup
- Enclosing class:
- OBJModel
public class OBJModel.ModelObject extends java.lang.Object implements IModelGeometryPart
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<OBJModel.ModelMesh>
meshes
java.lang.String
name
-
Constructor Summary
Constructors Constructor Description ModelObject(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, java.util.function.Function<RenderMaterial,TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation)
java.util.Collection<RenderMaterial>
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()
-
-
-
Field Detail
-
name
public final java.lang.String name
-
meshes
java.util.List<OBJModel.ModelMesh> meshes
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
name
in interfaceIModelGeometryPart
-
addQuads
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, java.util.function.Function<RenderMaterial,TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation)
- Specified by:
addQuads
in interfaceIModelGeometryPart
-
getTextures
public java.util.Collection<RenderMaterial> 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)
- Specified by:
getTextures
in interfaceIModelGeometryPart
-
-