Class ObjModel.ModelGroup
java.lang.Object
net.neoforged.neoforge.client.model.obj.ObjModel.ModelObject
net.neoforged.neoforge.client.model.obj.ObjModel.ModelGroup
- Enclosing class:
ObjModel
-
Field Summary
Fields inherited from class net.neoforged.neoforge.client.model.obj.ObjModel.ModelObject
meshes, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addNamesRecursively
(Set<String> names) void
addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
bake
(CompositeRenderable.PartBuilder<?> builder, IGeometryBakingContext configuration) getTextures
(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Methods inherited from class net.neoforged.neoforge.client.model.obj.ObjModel.ModelObject
name
-
Field Details
-
parts
-
-
Constructor Details
-
ModelGroup
ModelGroup(String name)
-
-
Method Details
-
addQuads
public void addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) - Overrides:
addQuads
in classObjModel.ModelObject
-
bake
- Overrides:
bake
in classObjModel.ModelObject
-
getTextures
public Collection<Material> getTextures(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Overrides:
getTextures
in classObjModel.ModelObject
-
addNamesRecursively
- Overrides:
addNamesRecursively
in classObjModel.ModelObject
-