Class ModifierProvider
java.lang.Object
de.eldoria.schematicbrush.brush.config.provider.SettingProvider<Mutator<?>>
de.eldoria.schematicbrush.brush.config.provider.ModifierProvider
Represents a modifier provider to provide
Mutator
.-
Field Summary
Fields inherited from class de.eldoria.schematicbrush.brush.config.provider.SettingProvider
description, name
-
Constructor Summary
ConstructorDescriptionModifierProvider
(Class<? extends ConfigurationSerializable> clazz, String name) Deprecated, for removal: This API element is subject to removal in a future version.ModifierProvider
(Class<? extends ConfigurationSerializable> clazz, String name, String localizedName) Deprecated, for removal: This API element is subject to removal in a future version.UseModifierProvider(Class, String, String, String)
and provide a localized name and descriptionModifierProvider
(Class<? extends ConfigurationSerializable> clazz, String name, String localizedName, String description) Default constructor -
Method Summary
Methods inherited from class de.eldoria.schematicbrush.brush.config.provider.SettingProvider
arguments, commandType, complete, defaultSetting, description, equals, hasArguments, hashCode, hasPermission, hasPermission, isMatch, localizedDescription, localizedName, name, parse, permission, serializationClass
-
Constructor Details
-
ModifierProvider
@Deprecated(forRemoval=true) public ModifierProvider(Class<? extends ConfigurationSerializable> clazz, String name) Deprecated, for removal: This API element is subject to removal in a future version.UseModifierProvider(Class, String, String, String)
and provide a localized name and descriptionDefault constructor- Parameters:
clazz
- class which is providedname
- name of provider
-
ModifierProvider
@Deprecated(forRemoval=true) public ModifierProvider(Class<? extends ConfigurationSerializable> clazz, String name, String localizedName) Deprecated, for removal: This API element is subject to removal in a future version.UseModifierProvider(Class, String, String, String)
and provide a localized name and descriptionDefault constructor- Parameters:
clazz
- which is returned by the providername
- name. Must be unique inside the provider.localizedName
- The property key to the name
-
ModifierProvider
public ModifierProvider(Class<? extends ConfigurationSerializable> clazz, String name, String localizedName, String description) Default constructor- Parameters:
clazz
- which is returned by the providername
- name. Must be unique inside the provider.localizedName
- The property key for the namedescription
- A description. Might be a string or a property key
-
ModifierProvider(Class, String, String, String)
and provide a localized name and description