Interface CustomModelDataComponent
- All Superinterfaces:
ConfigurationSerializable
Represents a component which adds custom model data.
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull CustomModelDataComponent
Sets a list of the custom colors.default @NotNull CustomModelDataComponent
Sets a list of the custom colors.default @NotNull CustomModelDataComponent
Sets a list of the custom flags.default @NotNull CustomModelDataComponent
Sets a list of the custom flags.default @NotNull CustomModelDataComponent
Sets a list of the custom floats.default @NotNull CustomModelDataComponent
Sets a list of the custom floats.Gets a list of colors for the model type's tints.getFlags()
Gets a list of the booleans for the condition model type.Gets a list of the floats for the range_dispatch model type.Gets a list of strings for the select model type.void
Sets a list of colors for the model type's tints.void
Sets a list of the booleans for the condition model type.void
Sets a list of the floats for the range_dispatch model type.void
setStrings
(@NotNull List<String> strings) Sets a list of strings for the select model type.default @NotNull CustomModelDataComponent
Sets a list of the custom strings.default @NotNull CustomModelDataComponent
Sets a list of the custom strings.Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
Method Details
-
getFloats
Gets a list of the floats for the range_dispatch model type.- Returns:
- unmodifiable list
-
setFloats
Sets a list of the floats for the range_dispatch model type.- Parameters:
floats
- new list
-
getFlags
Gets a list of the booleans for the condition model type.- Returns:
- unmodifiable list
-
setFlags
Sets a list of the booleans for the condition model type.- Parameters:
flags
- new list
-
getStrings
Gets a list of strings for the select model type.- Returns:
- unmodifiable list
-
setStrings
Sets a list of strings for the select model type.- Parameters:
strings
- new list
-
getColors
Gets a list of colors for the model type's tints.- Returns:
- unmodifiable list
-
setColors
Sets a list of colors for the model type's tints.- Parameters:
colors
- new list
-
floats
Sets a list of the custom floats.- Parameters:
floats
- new list- Returns:
- this
-
floats
@NotNull default @NotNull CustomModelDataComponent floats(@NotNull @NotNull Float @NotNull ... floats) Sets a list of the custom floats.- Parameters:
floats
- new list- Returns:
- this
-
flags
Sets a list of the custom flags.- Parameters:
flags
- new list- Returns:
- this
-
flags
@NotNull default @NotNull CustomModelDataComponent flags(@NotNull @NotNull Boolean @NotNull ... flags) Sets a list of the custom flags.- Parameters:
flags
- new list- Returns:
- this
-
strings
Sets a list of the custom strings.- Parameters:
strings
- new list- Returns:
- this
-
strings
@NotNull default @NotNull CustomModelDataComponent strings(@NotNull @NotNull String @NotNull ... strings) Sets a list of the custom strings.- Parameters:
strings
- new list- Returns:
- this
-
colors
Sets a list of the custom colors.- Parameters:
colors
- new list- Returns:
- this
-
colors
@NotNull default @NotNull CustomModelDataComponent colors(@NotNull @NotNull Color @NotNull ... colors) Sets a list of the custom colors.- Parameters:
colors
- new list- Returns:
- this
-