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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) getTextures
(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) name()
-
Field Details
-
name
-
meshes
List<OBJModel.ModelMesh> meshes
-
-
Constructor Details
-
ModelObject
ModelObject(String name)
-
-
Method Details
-
name
- Specified by:
name
in interfaceIModelGeometryPart
-
addQuads
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) - Specified by:
addQuads
in interfaceIModelGeometryPart
-
getTextures
public Collection<RenderMaterial> getTextures(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTextures
in interfaceIModelGeometryPart
-