public class EnchantmentProtectionFire extends EnchantmentProtection
EnchantmentProtection.TYPEprotectionTypeenchantments, id, ID_BINDING_CURSE, ID_BOW_FLAME, ID_BOW_INFINITY, ID_BOW_KNOCKBACK, ID_BOW_POWER, ID_DAMAGE_ALL, ID_DAMAGE_ARTHROPODS, ID_DAMAGE_SMITE, ID_DURABILITY, ID_EFFICIENCY, ID_FIRE_ASPECT, ID_FORTUNE_DIGGING, ID_FORTUNE_FISHING, ID_FROST_WALKER, ID_KNOCKBACK, ID_LOOTING, ID_LURE, ID_MENDING, ID_PROTECTION_ALL, ID_PROTECTION_EXPLOSION, ID_PROTECTION_FALL, ID_PROTECTION_FIRE, ID_PROTECTION_PROJECTILE, ID_SILK_TOUCH, ID_THORNS, ID_TRIDENT_CHANNELING, ID_TRIDENT_IMPALING, ID_TRIDENT_LOYALTY, ID_TRIDENT_RIPTIDE, ID_VANISHING_CURSE, ID_WATER_BREATHING, ID_WATER_WALKER, ID_WATER_WORKER, level, name, type, words| Constructor and Description |
|---|
EnchantmentProtectionFire() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxEnchantAbility(int level) |
int |
getMinEnchantAbility(int level) |
float |
getProtectionFactor(EntityDamageEvent e) |
double |
getTypeModifier() |
getMaxLevel, getName, isCompatibleWith, isMajorcanEnchant, clone, doPostAttack, doPostHurt, get, getDamageBonus, getEnchantment, getEnchantments, getId, getLevel, getMaxEnchantableLevel, getMinLevel, getRandomName, getWeight, init, setLevel, setLevelpublic int getMinEnchantAbility(int level)
getMinEnchantAbility in class Enchantmentpublic int getMaxEnchantAbility(int level)
getMaxEnchantAbility in class Enchantmentpublic double getTypeModifier()
getTypeModifier in class EnchantmentProtectionpublic float getProtectionFactor(EntityDamageEvent e)
getProtectionFactor in class EnchantmentCopyright © 2020. All rights reserved.