public class OBJModel.ModelGroup extends OBJModel.ModelObject
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Map<java.lang.String,OBJModel.ModelObject> |
parts |
meshes, name
Constructor and Description |
---|
ModelGroup(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addQuads(IModelConfiguration owner,
IModelBuilder<?> modelBuilder,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
java.util.Collection<? extends IModelGeometryPart> |
getParts() |
java.util.Collection<Material> |
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) |
name
final java.util.Map<java.lang.String,OBJModel.ModelObject> parts
public java.util.Collection<? extends IModelGeometryPart> getParts()
public void addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, java.util.function.Function<Material,TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation)
addQuads
in interface IModelGeometryPart
addQuads
in class OBJModel.ModelObject
public java.util.Collection<Material> 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)
getTextures
in interface IModelGeometryPart
getTextures
in class OBJModel.ModelObject