public class EnchantmentProtectionFire extends EnchantmentProtection
EnchantmentProtection.TYPEprotectionType| Constructor and Description |
|---|
EnchantmentProtectionFire() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxEnchantAbility(int level) |
int |
getMinEnchantAbility(int level) |
float |
getProtectionFactor(org.cloudburstmc.api.enchantment.EnchantmentInstance enchantment,
org.cloudburstmc.api.event.entity.EntityDamageEvent e) |
double |
getTypeModifier() |
isCompatibleWith, isMajorpublic int getMinEnchantAbility(int level)
getMinEnchantAbility in class org.cloudburstmc.api.enchantment.behavior.EnchantmentBehaviorpublic int getMaxEnchantAbility(int level)
getMaxEnchantAbility in class org.cloudburstmc.api.enchantment.behavior.EnchantmentBehaviorpublic double getTypeModifier()
getTypeModifier in class EnchantmentProtectionpublic float getProtectionFactor(org.cloudburstmc.api.enchantment.EnchantmentInstance enchantment,
org.cloudburstmc.api.event.entity.EntityDamageEvent e)
getProtectionFactor in class EnchantmentProtectionCopyright © 2021. All rights reserved.