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 the custom colors.getFlags()
Gets a list of the custom flags.Gets a list of the custom floats.Gets a list of the custom strings.void
Sets a list of the custom colors.void
Sets a list of the custom flags.void
Sets a list of the custom floats.void
setStrings
(@NotNull List<String> strings) Sets a list of the custom strings.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 custom floats.- Returns:
- unmodifiable list
-
setFloats
Sets a list of the custom floats.- Parameters:
floats
- new list
-
getFlags
Gets a list of the custom flags.- Returns:
- unmodifiable list
-
setFlags
Sets a list of the custom flags.- Parameters:
flags
- new list
-
getStrings
Gets a list of the custom strings.- Returns:
- unmodifiable list
-
setStrings
Sets a list of the custom strings.- Parameters:
strings
- new list
-
getColors
Gets a list of the custom colors.- Returns:
- unmodifiable list
-
setColors
Sets a list of the custom colors.- 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
-