接口 CustomModelDataComponent
- 所有超级接口:
ConfigurationSerializable
Represents a component which adds custom model data.
-
方法概要
修饰符和类型方法说明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.从接口继承的方法 org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
方法详细资料
-
getFloats
Gets a list of the floats for the range_dispatch model type.- 返回:
- unmodifiable list
-
setFloats
Sets a list of the floats for the range_dispatch model type.- 参数:
floats
- new list
-
getFlags
Gets a list of the booleans for the condition model type.- 返回:
- unmodifiable list
-
setFlags
Sets a list of the booleans for the condition model type.- 参数:
flags
- new list
-
getStrings
Gets a list of strings for the select model type.- 返回:
- unmodifiable list
-
setStrings
Sets a list of strings for the select model type.- 参数:
strings
- new list
-
getColors
Gets a list of colors for the model type's tints.- 返回:
- unmodifiable list
-
setColors
Sets a list of colors for the model type's tints.- 参数:
colors
- new list
-