Interface CustomModelData.Builder
- All Superinterfaces:
DataComponentBuilder<CustomModelData>
- Enclosing interface:
CustomModelData
@Experimental
@NonExtendable
public static interface CustomModelData.Builder
extends DataComponentBuilder<CustomModelData>
Builder for
CustomModelData.-
Method Summary
Modifier and TypeMethodDescriptionAdds a color to this custom model data.Adds multiple colors to this custom model data.addFlag(boolean flag) Adds a flag to this custom model data.Adds multiple flags to this custom model data.addFloat(float f) Adds a float to this custom model data.Adds multiple floats to this custom model data.Adds a string to this custom model data.addStrings(List<String> strings) Adds multiple strings to this custom model data.Methods inherited from interface DataComponentBuilder
build
-
Method Details
-
addFloat
Adds a float to this custom model data.- Parameters:
f- the float- Returns:
- the builder for chaining
- See Also:
-
addFloats
-
addFlag
Adds a flag to this custom model data.- Parameters:
flag- the flag- Returns:
- the builder for chaining
- See Also:
-
addFlags
-
addString
Adds a string to this custom model data.- Parameters:
string- the string- Returns:
- the builder for chaining
- See Also:
-
addStrings
-
addColor
Adds a color to this custom model data.- Parameters:
color- the color- Returns:
- the builder for chaining
- See Also:
-
addColors
-