net.minecraft.enchantment

public class ProtectionEnchantment

extends Enchantment

acr
net.minecraft.class_1140
net.minecraft.enchantment.ProtectionEnchantment
net.minecraft.enchantment.EnchantmentProtection

Field summary

Modifier and TypeField
private static final String[]
E
field_4498
TYPE_NAMES
protectionName
private static final int[]
F
field_4499
MIN_XP
baseEnchantability
private static final int[]
G
field_4500
XP_MODIFIER
levelEnchantability
private static final int[]
H
field_4501
MAX_XP
thresholdEnchantability
public final int
a
field_4502
type
protectionType

Constructor summary

ModifierConstructor
public (int id, Identifier key, int type, int protectionType)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
method_3508(int arg0)
getMinXpRequirement(int arg0)
getMinEnchantability(int arg0)
public int
b(int arg0)
method_3513(int arg0)
getMaxXpRequirement(int arg0)
getMaxEnchantability(int arg0)
public int
b()
method_3512()
getMaxLevel()
getMaxLevel()
public int
a(int arg0, ow arg1)
method_3509(int arg0, class_856 arg1)
getExtraProtection(int arg0, DamageSource arg1)
calcModifierDamage(int arg0, DamageSource arg1)
public String
a()
method_3507()
getTranslationKey()
getName()
public boolean
a(aci arg0)
method_3511(class_1127 arg0)
isCompatible(Enchantment arg0)
canApplyTogether(Enchantment arg0)
public static int
a(pk arg0, int arg1)
method_4659(class_864 arg0, int arg1)
modifyOnFireTimer(Entity entity, int ticks)
getFireTimeForEntity(Entity arg0, int arg1)
public static double
a(pk arg0, double arg1)
method_4658(class_864 arg0, double arg1)
modifyExplosionDamage(Entity entity, double damage)
func_92092_a(Entity arg0, double arg1)