Class IModelBuilder.Collecting
java.lang.Object
net.neoforged.neoforge.client.model.IModelBuilder.Collecting
- All Implemented Interfaces:
IModelBuilder<IModelBuilder.Collecting>
- Enclosing interface:
IModelBuilder<T extends IModelBuilder<T>>
public static class IModelBuilder.Collecting
extends Object
implements IModelBuilder<IModelBuilder.Collecting>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.neoforged.neoforge.client.model.IModelBuilder
IModelBuilder.Collecting, IModelBuilder.Simple
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCulledFace
(Direction facing, BakedQuad quad) Adds a face to the model that will be culled based on the provided facing.addUnculledFace
(BakedQuad quad) Adds a face to the model that will not be culled.build()
Builds the model from the collected faces.
-
Field Details
-
quads
-
-
Constructor Details
-
Collecting
-
-
Method Details
-
addCulledFace
Description copied from interface:IModelBuilder
Adds a face to the model that will be culled based on the provided facing.- Specified by:
addCulledFace
in interfaceIModelBuilder<IModelBuilder.Collecting>
- Parameters:
facing
- The facingquad
- The quad- Returns:
- This builder
-
addUnculledFace
Description copied from interface:IModelBuilder
Adds a face to the model that will not be culled.- Specified by:
addUnculledFace
in interfaceIModelBuilder<IModelBuilder.Collecting>
- Parameters:
quad
- The quad- Returns:
- This builder
-
build
Description copied from interface:IModelBuilder
Builds the model from the collected faces.- Specified by:
build
in interfaceIModelBuilder<IModelBuilder.Collecting>
- Returns:
- The baked model
-