Class TalismanEnchantment
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.ItemSetting<Boolean>
io.github.thebusybiscuit.slimefun4.implementation.settings.TalismanEnchantment
This class is an extension of 
ItemSetting that holds an Enchantment and
 a level. It is only used by the TalismanListener to handle the MagicianTalisman.- Author:
 - TheBusyBiscuit
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionTalismanEnchantment(MagicianTalisman talisman, Enchantment enchantment, int level)  - 
Method Summary
Modifier and TypeMethodDescriptionThis returns the actualEnchantmentrepresented by thisItemSetting.intgetLevel()This returns the level for thisEnchantment.Methods inherited from class io.github.thebusybiscuit.slimefun4.api.items.ItemSetting
equals, getDefaultValue, getErrorMessage, getItem, getKey, getValue, hashCode, isType, reload, toString, update, validateInput 
- 
Constructor Details
- 
TalismanEnchantment
@ParametersAreNonnullByDefault public TalismanEnchantment(MagicianTalisman talisman, Enchantment enchantment, int level)  
 - 
 - 
Method Details
- 
getEnchantment
This returns the actualEnchantmentrepresented by thisItemSetting.- Returns:
 - The associated 
Enchantment 
 - 
getLevel
public int getLevel()This returns the level for thisEnchantment.- Returns:
 - The level
 
 
 -