Class IModelBuilder.Simple
java.lang.Object
net.neoforged.neoforge.client.model.IModelBuilder.Simple
- All Implemented Interfaces:
IModelBuilder<IModelBuilder.Simple>
- Enclosing interface:
IModelBuilder<T extends IModelBuilder<T>>
public static class IModelBuilder.Simple
extends Object
implements IModelBuilder<IModelBuilder.Simple>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.neoforged.neoforge.client.model.IModelBuilder
IModelBuilder.Collecting, IModelBuilder.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SimpleBakedModel.Builderprivate final RenderTypeGroup -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSimple(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes) -
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()Deprecated.
-
Field Details
-
builder
-
renderTypes
-
-
Constructor Details
-
Simple
private Simple(boolean hasAmbientOcclusion, boolean usesBlockLight, boolean isGui3d, ItemTransforms transforms, TextureAtlasSprite particle, RenderTypeGroup renderTypes)
-
-
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.Simple>- 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.Simple>- Parameters:
quad- The quad- Returns:
- This builder
-
build
Deprecated.Description copied from interface:IModelBuilderBuilds the model from the collected faces.- Specified by:
buildin interfaceIModelBuilder<IModelBuilder.Simple>- Returns:
- The baked model
-