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:IModelBuilderAdds a face to the model that will be culled based on the provided facing.- Specified by:
addCulledFacein interfaceIModelBuilder<IModelBuilder.Collecting>- Parameters:
facing- The facingquad- The quad- Returns:
- This builder
-
addUnculledFace
Description copied from interface:IModelBuilderAdds a face to the model that will not be culled.- Specified by:
addUnculledFacein interfaceIModelBuilder<IModelBuilder.Collecting>- Parameters:
quad- The quad- Returns:
- This builder
-
build
Description copied from interface:IModelBuilderBuilds the model from the collected faces.- Specified by:
buildin interfaceIModelBuilder<IModelBuilder.Collecting>- Returns:
- The baked model
-