public abstract class Special extends AbstractDetection<SpecialKeys>
config, key, material| Constructor and Description |
|---|
Special(SpecialKeys key,
Material material)
Create a special detection and load his config
|
| Modifier and Type | Method and Description |
|---|---|
static Special |
forKey(String key)
Get special detection from the key
|
static Special |
fromString(String name)
Get special detection from the name
|
static void |
loadSpecial()
Load all special detection
Support reload
|
static List<Special> |
values() |
compareTo, getConfig, getKey, getMaterial, getName, isActive, isDisabledForBedrock, saveConfig, setActivepublic Special(SpecialKeys key, Material material)
key - the key of the special detectionmaterial - the material used in inventory to represent this special detectionpublic static Special fromString(String name)
name - the special detection namepublic static Special forKey(String key)
key - the special keypublic static void loadSpecial()