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
public class OBJModel.ModelGroup extends OBJModel.ModelObject
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map<java.lang.String,OBJModel.ModelObject>
parts
-
Fields inherited from class net.minecraftforge.client.model.obj.OBJModel.ModelObject
meshes, name
-
-
Constructor Summary
Constructors Constructor Description ModelGroup(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<? extends IModelGeometryPart>
getParts()
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)
-
Methods inherited from class net.minecraftforge.client.model.obj.OBJModel.ModelObject
name
-
-
-
-
Field Detail
-
parts
final java.util.Map<java.lang.String,OBJModel.ModelObject> parts
-
-
Method Detail
-
getParts
public java.util.Collection<? extends IModelGeometryPart> getParts()
-
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
- Overrides:
addQuads
in classOBJModel.ModelObject
-
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
- Overrides:
getTextures
in classOBJModel.ModelObject
-
-