Class PotionEffectConfigPath
java.lang.Object
me.hsgamer.hscore.config.path.AdvancedConfigPath<Map<String,Object>,T>
me.hsgamer.hscore.config.path.SerializableMapConfigPath<org.bukkit.potion.PotionEffect>
me.hsgamer.hscore.bukkit.config.path.PotionEffectConfigPath
- All Implemented Interfaces:
ConfigPath<org.bukkit.potion.PotionEffect>
public class PotionEffectConfigPath
extends SerializableMapConfigPath<org.bukkit.potion.PotionEffect>
-
Constructor Summary
ConstructorsConstructorDescriptionPotionEffectConfigPath(String path, org.bukkit.potion.PotionEffect def) Create a config path -
Method Summary
Methods inherited from class me.hsgamer.hscore.config.path.SerializableMapConfigPath
getFromConfigMethods inherited from class me.hsgamer.hscore.config.path.AdvancedConfigPath
getConfig, getPath, getValue, getValue, migrateConfig, setConfig, setValue, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.hscore.config.path.ConfigPath
reload, setAndSave, setAndSave
-
Constructor Details
-
PotionEffectConfigPath
Create a config path- Parameters:
path- the path to the valuedef- the default value if it's not found
-
-
Method Details
-
convert
- Specified by:
convertin classAdvancedConfigPath<Map<String,Object>, org.bukkit.potion.PotionEffect>
-
convertToRaw
- Specified by:
convertToRawin classAdvancedConfigPath<Map<String,Object>, org.bukkit.potion.PotionEffect>
-