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<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
bake
(SimpleRenderable.PartBuilder<?> builder, IModelConfiguration configuration) getTextures
(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> 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<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) - Specified by:
addQuads
in interfaceIModelGeometryPart
-
bake
-
getTextures
public Collection<Material> getTextures(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTextures
in interfaceIModelGeometryPart
-