Class SelectorProvider
java.lang.Object
de.eldoria.schematicbrush.brush.config.provider.SettingProvider<Selector>
de.eldoria.schematicbrush.brush.config.provider.SelectorProvider
Provider used to provide instance of classes implementing a
Selector
-
Field Summary
Fields inherited from class de.eldoria.schematicbrush.brush.config.provider.SettingProvider
description, name
-
Constructor Summary
ConstructorDescriptionSelectorProvider
(Class<? extends Selector> clazz, String name, SchematicRegistry registry) Deprecated.SelectorProvider
(Class<? extends ConfigurationSerializable> clazz, String name, String localizedName, String description, SchematicRegistry registry) -
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
-
SelectorProvider
Deprecated.UseSelectorProvider(Class, String, String, String, SchematicRegistry)
and provide a localized name and descriptionCreates a new provider instance- Parameters:
clazz
- class which is providedname
- name of selectorregistry
- schematic registry. Can be retrieved viaSchematicBrushReborn.schematics()
-
SelectorProvider
public SelectorProvider(Class<? extends ConfigurationSerializable> clazz, String name, String localizedName, String description, SchematicRegistry registry)
-
-
Method Details
-
registry
Returns the provided registry- Returns:
- registry instance
-
SelectorProvider(Class, String, String, String, SchematicRegistry)
and provide a localized name and description