net.minecraft.server.v1_14_R1

public abstract class Enchantment

bfn
net.minecraft.class_1887
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.Enchantment
net.minecraft.server.v1_14_R1.Enchantment

Field summary

Modifier and TypeField
private final EnumItemSlot[]
a
field_9086
slotTypes
field_185263_a
private final Enchantment$Rarity
d
field_9085
weight
field_77333_a
public EnchantmentSlotType
b
field_9083
type
field_77351_y
itemTarget
protected String
c
field_9084
translationKey
field_77350_z

Constructor summary

ModifierConstructor
protected (Enchantment$Rarity arg0, EnchantmentSlotType arg1, EnumItemSlot[] arg2)

Method summary

Modifier and TypeMethod
public Map<EnumItemSlot, ItemStack>
a(aiu arg0)
method_8185(class_1309 arg0)
getEquipment(LivingEntity arg0)
func_222181_a(LivingEntity arg0)
public Enchantment$Rarity
d()
method_8186()
getWeight()
func_77324_c()
public int
e()
method_8187()
getMinimumLevel()
func_77319_d()
getStartLevel()
public int
a()
method_8183()
getMaximumLevel()
func_77325_b()
getMaxLevel()
public int
a(int arg0)
method_8182(int arg0)
getMinimumPower(int arg0)
func_77321_a(int arg0)
public int
b(int arg0)
method_20742(int arg0)
method_20742(int arg0)
func_223551_b(int arg0)
public int
a(int arg0, ahu arg1)
method_8181(int arg0, class_1282 arg1)
getProtectionAmount(int arg0, DamageSource arg1)
func_77318_a(int arg0, DamageSource arg1)
public float
a(int arg0, aiy arg1)
method_8196(int arg0, class_1310 arg1)
getAttackDamage(int arg0, EntityGroup arg1)
func_152376_a(int arg0, CreatureAttribute arg1)
public final boolean
b(bfn arg0)
method_8188(class_1887 arg0)
isDifferent(Enchantment arg0)
func_191560_c(Enchantment arg0)
protected boolean
a(bfn arg0)
method_8180(class_1887 arg0)
differs(Enchantment arg0)
func_77326_a(Enchantment arg0)
protected String
f()
method_8190()
getOrCreateTranslationKey()
func_210771_f()
public String
g()
method_8184()
getTranslationKey()
func_77320_a()
public IChatBaseComponent
d(int arg0)
method_8179(int arg0)
getName(int arg0)
func_200305_d(int arg0)
public boolean
a(bce arg0)
method_8192(class_1799 arg0)
isAcceptableItem(ItemStack arg0)
func_92089_a(ItemStack arg0)
canEnchant(ItemStack arg0)
public void
a(aiu arg0, ail arg1, int arg2)
method_8189(class_1309 arg0, class_1297 arg1, int arg2)
onTargetDamaged(LivingEntity arg0, Entity arg1, int arg2)
func_151368_a(LivingEntity arg0, Entity arg1, int arg2)
public void
b(aiu arg0, ail arg1, int arg2)
method_8178(class_1309 arg0, class_1297 arg1, int arg2)
onUserDamaged(LivingEntity arg0, Entity arg1, int arg2)
func_151367_b(LivingEntity arg0, Entity arg1, int arg2)
public boolean
b()
method_8193()
isTreasure()
func_185261_e()
isTreasure()
public boolean
c()
method_8195()
isCursed()
func_190936_d()
public static Enchantment
c(int arg0)
method_8191(int arg0)
byRawId(int arg0)
func_185262_c(int arg0)