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
FieldsFields inherited from class net.minecraftforge.client.model.obj.OBJModel.ModelObject
meshes, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) voidbake(SimpleRenderable.PartBuilder<?> builder, IModelConfiguration configuration) Collection<? extends IModelGeometryPart>getParts()getTextures(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> 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<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) - Specified by:
addQuadsin interfaceIModelGeometryPart- Overrides:
addQuadsin classOBJModel.ModelObject
-
bake
- Overrides:
bakein classOBJModel.ModelObject
-
getTextures
public Collection<Material> getTextures(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTexturesin interfaceIModelGeometryPart- Overrides:
getTexturesin classOBJModel.ModelObject
-