Class OBJModel.ModelGroup
java.lang.Object
net.minecraftforge.client.model.obj.OBJModel.ModelObject
net.minecraftforge.client.model.obj.OBJModel.ModelGroup
- All Implemented Interfaces:
IModelGeometryPart
- Enclosing class:
- OBJModel
-
Field Summary
Fields inherited from class net.minecraftforge.client.model.obj.OBJModel.ModelObject
meshes, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addQuads
(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) Collection<? extends IModelGeometryPart>
getParts()
getTextures
(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Methods inherited from class net.minecraftforge.client.model.obj.OBJModel.ModelObject
name
-
Field Details
-
parts
-
-
Constructor Details
-
ModelGroup
ModelGroup(String name)
-
-
Method Details
-
getParts
-
addQuads
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation) - Specified by:
addQuads
in interfaceIModelGeometryPart
- Overrides:
addQuads
in classOBJModel.ModelObject
-
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
- Overrides:
getTextures
in classOBJModel.ModelObject
-