Class ObjModel.ModelObject
java.lang.Object
net.neoforged.neoforge.client.model.obj.ObjModel.ModelObject
- Direct Known Subclasses:
ObjModel.ModelGroup
- Enclosing class:
ObjModel
-
Field Summary
-
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) void
bake
(CompositeRenderable.PartBuilder<?> builder, IGeometryBakingContext configuration) getTextures
(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) name()
-
Field Details
-
name
-
meshes
List<ObjModel.ModelMesh> meshes
-
-
Constructor Details
-
ModelObject
ModelObject(String name)
-
-
Method Details
-
name
-
addQuads
public void addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) -
bake
-
getTextures
public Collection<Material> getTextures(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) -
addNamesRecursively
-