net.minecraft.world.item.enchantment

public abstract class Enchantment

bhu
net.minecraft.world.item.enchantment.Enchantment
net.minecraft.class_1887
net.minecraft.unmapped.C_jxtrubuh
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.Enchantment
net.minecraft.server.v1_15_R1.Enchantment

Field summary

Modifier and TypeField
private final EquipmentSlot[]
a
slots
field_9086
f_yoyeroqb
slotTypes
field_185263_a
private final Enchantment$Rarity
d
rarity
field_9085
f_ewpvweeh
weight
field_77333_a
public EnchantmentCategory
b
category
field_9083
f_aabiupdw
type
field_77351_y
itemTarget
protected String
c
descriptionId
field_9084
f_idonjvqd
translationKey
field_77350_z

Constructor summary

ModifierConstructor
protected (Enchantment$Rarity weight, EnchantmentCategory type, EquipmentSlot[] slotTypes)

Method summary

Modifier and TypeMethod
public Map<EquipmentSlot, ItemStack>
a(akw arg0)
getSlotItems(LivingEntity arg0)
method_8185(class_1309 arg0)
m_tiaspbpv(C_usxaxydn arg0)
getEquipment(LivingEntity arg0)
func_222181_a(LivingEntity arg0)
public Enchantment$Rarity
d()
getRarity()
method_8186()
m_fecfwekl()
getWeight()
func_77324_c()
public int
e()
getMinLevel()
method_8187()
m_igxrorrr()
getMinimumLevel()
func_77319_d()
getStartLevel()
public int
a()
getMaxLevel()
method_8183()
m_glfcpyqa()
getMaximumLevel()
func_77325_b()
getMaxLevel()
public int
a(int arg0)
getMinCost(int arg0)
method_8182(int arg0)
m_rtwmhoyh(int arg0)
getMinimumPower(int level)
func_77321_a(int arg0)
public int
b(int arg0)
getMaxCost(int arg0)
method_20742(int arg0)
m_ztycenho(int arg0)
getMaximumPower(int level)
func_223551_b(int arg0)
public int
a(int arg0, ajw arg1)
getDamageProtection(int arg0, DamageSource arg1)
method_8181(int arg0, class_1282 arg1)
m_zxuhlvyz(int arg0, C_sbxfkpyv arg1)
getProtectionAmount(int level, DamageSource source)
func_77318_a(int arg0, DamageSource arg1)
public float
a(int arg0, ala arg1)
getDamageBonus(int arg0, MobType arg1)
method_8196(int arg0, class_1310 arg1)
m_kzbinilx(int arg0, C_amnulxyk arg1)
getAttackDamage(int level, EntityGroup group)
func_152376_a(int arg0, CreatureAttribute arg1)
public final boolean
b(bhu arg0)
isCompatibleWith(Enchantment arg0)
method_8188(class_1887 arg0)
m_jtamscxb(C_jxtrubuh arg0)
isDifferent(Enchantment other)
func_191560_c(Enchantment arg0)
isCompatible(Enchantment arg0)
protected boolean
a(bhu arg0)
checkCompatibility(Enchantment arg0)
method_8180(class_1887 arg0)
m_daqyrypu(C_jxtrubuh arg0)
differs(Enchantment other)
func_77326_a(Enchantment arg0)
protected String
f()
getOrCreateDescriptionId()
method_8190()
m_vfhytrxr()
getOrCreateTranslationKey()
func_210771_f()
public String
g()
getDescriptionId()
method_8184()
m_vssdpxdz()
getTranslationKey()
func_77320_a()
public Component
d(int arg0)
getFullname(int arg0)
method_8179(int arg0)
m_zfqdifee(int arg0)
getName(int level)
func_200305_d(int arg0)
public boolean
a(bek arg0)
canEnchant(ItemStack arg0)
method_8192(class_1799 arg0)
m_khmhdqpw(C_sddaxwyk arg0)
isAcceptableItem(ItemStack stack)
func_92089_a(ItemStack arg0)
canEnchant(ItemStack arg0)
public void
a(akw arg0, akn arg1, int arg2)
doPostAttack(LivingEntity arg0, Entity arg1, int arg2)
method_8189(class_1309 arg0, class_1297 arg1, int arg2)
m_phdcatdd(C_usxaxydn arg0, C_astfners arg1, int arg2)
onTargetDamaged(LivingEntity user, Entity target, int level)
func_151368_a(LivingEntity arg0, Entity arg1, int arg2)
public void
b(akw arg0, akn arg1, int arg2)
doPostHurt(LivingEntity arg0, Entity arg1, int arg2)
method_8178(class_1309 arg0, class_1297 arg1, int arg2)
m_sxyjtpkf(C_usxaxydn arg0, C_astfners arg1, int arg2)
onUserDamaged(LivingEntity user, Entity attacker, int level)
func_151367_b(LivingEntity arg0, Entity arg1, int arg2)
public boolean
b()
isTreasureOnly()
method_8193()
m_lkqpuckl()
isTreasure()
func_185261_e()
isTreasure()
public boolean
c()
isCurse()
method_8195()
m_sufqbdfo()
isCursed()
func_190936_d()
public static Enchantment
c(int arg0)
byId(int arg0)
method_8191(int arg0)
m_eizkkeej(int arg0)
byRawId(int id)
func_185262_c(int arg0)