Uses of Enum Class
ua.mcchickenstudio.opencreative.coding.variables.ValueType
Packages that use ValueType
Package
Description
-
Uses of ValueType in ua.mcchickenstudio.opencreative.coding
Methods in ua.mcchickenstudio.opencreative.coding with parameters of type ValueTypeModifier and TypeMethodDescriptionvoidCodeConfiguration.saveArguments(@NotNull org.bukkit.block.Block executorBlock, boolean notDependsOnHeight, @NotNull List<String> multiActions, @NotNull org.bukkit.block.Block actionBlock, @NotNull String argument, @Nullable Object value, @NotNull ValueType type) voidCodeStorage.saveArguments(@NotNull org.bukkit.block.Block executorBlock, boolean notDependsOnHeight, @NotNull List<String> multiActions, @NotNull org.bukkit.block.Block actionBlock, @NotNull String argument, @Nullable Object value, @NotNull ValueType type) Saves arguments for action block in configuration file. -
Uses of ValueType in ua.mcchickenstudio.opencreative.coding.arguments
Fields in ua.mcchickenstudio.opencreative.coding.arguments declared as ValueTypeMethods in ua.mcchickenstudio.opencreative.coding.arguments that return ValueTypeMethods in ua.mcchickenstudio.opencreative.coding.arguments with parameters of type ValueTypeModifier and TypeMethodDescriptionvoidArguments.setArgumentValue(@NotNull String path, @NotNull ValueType type, @NotNull Object value) Sets argument value by key.Constructors in ua.mcchickenstudio.opencreative.coding.arguments with parameters of type ValueType -
Uses of ValueType in ua.mcchickenstudio.opencreative.coding.variables
Subclasses with type arguments of type ValueType in ua.mcchickenstudio.opencreative.coding.variablesMethods in ua.mcchickenstudio.opencreative.coding.variables that return ValueTypeModifier and TypeMethodDescriptionstatic @Nullable ValueTypeValueType.getByMaterial(@NotNull org.bukkit.Material material) Returns type of value by comparing material with value types materials.static @Nullable ValueTypeValueType.getByObject(Object object) Returns value type of object.@NotNull ValueTypeWorldVariable.getType()Returns type of value.static @NotNull ValueTypeValueType.parseString(String type) Returns type of value by comparing it with value types names.static ValueTypeReturns the enum constant of this class with the specified name.static ValueType[]ValueType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in ua.mcchickenstudio.opencreative.coding.variables with parameters of type ValueTypeModifier and TypeMethodDescriptionvoidSets a new value type to variable.booleanWorldVariables.setVariableValue(VariableLink link, ValueType type, Object value) Sets variable value to new specified one.voidWorldVariables.setVariableValue(VariableLink link, ValueType type, Object value, ActionsHandler handler, Action action) Sets variable value to new specified one.Constructors in ua.mcchickenstudio.opencreative.coding.variables with parameters of type ValueTypeModifierConstructorDescriptionWorldVariable(@NotNull String name, VariableLink.VariableType varType, @NotNull ValueType type, @Nullable Object value, @Nullable ActionsHandler handler) Creates instance of variable, that has name, value, type, value type and actions handler. -
Uses of ValueType in ua.mcchickenstudio.opencreative.utils
Methods in ua.mcchickenstudio.opencreative.utils that return ValueTypeModifier and TypeMethodDescriptionstatic @NotNull ValueTypeItemUtils.getValueType(@NotNull org.bukkit.inventory.ItemStack item)