net.minecraft.world.item.enchantment

public class EnchantmentHelper

bhz
net.minecraft.world.item.enchantment.EnchantmentHelper
net.minecraft.class_1890
net.minecraft.unmapped.C_jakrppis
net.minecraft.enchantment.EnchantmentHelper
net.minecraft.enchantment.EnchantmentHelper
net.minecraft.server.v1_15_R1.EnchantmentManager

Method summary

Modifier and TypeMethod
public static int
a(bhx arg0, ben arg1)
getItemEnchantmentLevel(Enchantment arg0, ItemStack arg1)
method_8225(class_1887 arg0, class_1799 arg1)
m_byjosehc(C_jxtrubuh arg0, C_sddaxwyk arg1)
getLevel(Enchantment enchantment, ItemStack stack)
func_77506_a(Enchantment arg0, ItemStack arg1)
getEnchantmentLevel(Enchantment arg0, ItemStack arg1)
public static Map<Enchantment, Integer>
a(ben arg0)
getEnchantments(ItemStack arg0)
method_8222(class_1799 arg0)
m_nvnojfze(C_sddaxwyk arg0)
getEnchantments(ItemStack stack)
func_82781_a(ItemStack arg0)
public static Map<Enchantment, Integer>
a(jz arg0)
deserializeEnchantments(ListTag arg0)
method_22445(class_2499 arg0)
m_uiyvmdhm(C_hqhtfwlr arg0)
getEnchantments(ListTag tag)
func_226652_a_(ListNBT arg0)
public static void
a(Map<bhx, Integer> arg0, ben arg1)
setEnchantments(Map<Enchantment, Integer> arg0, ItemStack arg1)
method_8214(Map<class_1887, Integer> arg0, class_1799 arg1)
m_ybhxtwqv(Map<C_jxtrubuh, Integer> arg0, C_sddaxwyk arg1)
set(Map<Enchantment, Integer> enchantments, ItemStack stack)
func_82782_a(Map<Enchantment, Integer> arg0, ItemStack arg1)
private static void
a(bhz$a arg0, ben arg1)
runIterationOnItem(EnchantmentHelper$EnchantmentVisitor arg0, ItemStack arg1)
method_8220(class_1890$class_1891 arg0, class_1799 arg1)
m_mnatputa(C_jakrppis$C_jdhxivxn arg0, C_sddaxwyk arg1)
accept(EnchantmentHelper$Consumer enchantmentHandler, ItemStack stack)
func_77518_a(EnchantmentHelper$IEnchantmentVisitor arg0, ItemStack arg1)
private static void
a(bhz$a arg0, Iterable<ben> arg1)
runIterationOnInventory(EnchantmentHelper$EnchantmentVisitor arg0, Iterable<ItemStack> arg1)
method_8209(class_1890$class_1891 arg0, Iterable<class_1799> arg1)
m_jewispmg(C_jakrppis$C_jdhxivxn arg0, Iterable<C_sddaxwyk> arg1)
accept(EnchantmentHelper$Consumer enchantmentHandler, Iterable<ItemStack> stacks)
func_77516_a(EnchantmentHelper$IEnchantmentVisitor arg0, Iterable<ItemStack> arg1)
public static int
a(Iterable<ben> arg0, ajz arg1)
getDamageProtection(Iterable<ItemStack> arg0, DamageSource arg1)
method_8219(Iterable<class_1799> arg0, class_1282 arg1)
m_jfbiswcz(Iterable<C_sddaxwyk> arg0, C_sbxfkpyv arg1)
getProtectionAmount(Iterable<ItemStack> equipment, DamageSource source)
func_77508_a(Iterable<ItemStack> arg0, DamageSource arg1)
public static float
a(ben arg0, ald arg1)
getDamageBonus(ItemStack arg0, MobType arg1)
method_8218(class_1799 arg0, class_1310 arg1)
m_pdpzdulw(C_sddaxwyk arg0, C_amnulxyk arg1)
getAttackDamage(ItemStack stack, EntityGroup group)
func_152377_a(ItemStack arg0, CreatureAttribute arg1)
public static float
a(akz arg0)
getSweepingDamageRatio(LivingEntity arg0)
method_8217(class_1309 arg0)
m_joncevqu(C_usxaxydn arg0)
getSweepingMultiplier(LivingEntity entity)
func_191527_a(LivingEntity arg0)
public static void
a(akz arg0, akq arg1)
doPostHurtEffects(LivingEntity arg0, Entity arg1)
method_8210(class_1309 arg0, class_1297 arg1)
m_gfmalqgf(C_usxaxydn arg0, C_astfners arg1)
onUserDamaged(LivingEntity user, Entity attacker)
func_151384_a(LivingEntity arg0, Entity arg1)
public static void
b(akz arg0, akq arg1)
doPostDamageEffects(LivingEntity arg0, Entity arg1)
method_8213(class_1309 arg0, class_1297 arg1)
m_ysxfxsjj(C_usxaxydn arg0, C_astfners arg1)
onTargetDamaged(LivingEntity user, Entity target)
func_151385_b(LivingEntity arg0, Entity arg1)
public static int
a(bhx arg0, akz arg1)
getEnchantmentLevel(Enchantment arg0, LivingEntity arg1)
method_8203(class_1887 arg0, class_1309 arg1)
m_wfidublc(C_jxtrubuh arg0, C_usxaxydn arg1)
getEquipmentLevel(Enchantment ench, LivingEntity entity)
func_185284_a(Enchantment arg0, LivingEntity arg1)
public static int
b(akz arg0)
getKnockbackBonus(LivingEntity arg0)
method_8205(class_1309 arg0)
m_ktvqzwtx(C_usxaxydn arg0)
getKnockback(LivingEntity entity)
func_77501_a(LivingEntity arg0)
public static int
c(akz arg0)
getFireAspect(LivingEntity arg0)
method_8199(class_1309 arg0)
m_knenpeym(C_usxaxydn arg0)
getFireAspect(LivingEntity entity)
func_90036_a(LivingEntity arg0)
getFireAspectEnchantmentLevel(EntityLiving arg0)
public static int
d(akz arg0)
getRespiration(LivingEntity arg0)
method_8211(class_1309 arg0)
m_iaspatfp(C_usxaxydn arg0)
getRespiration(LivingEntity entity)
func_185292_c(LivingEntity arg0)
getOxygenEnchantmentLevel(EntityLiving arg0)
public static int
e(akz arg0)
getDepthStrider(LivingEntity arg0)
method_8232(class_1309 arg0)
m_txkgdgaa(C_usxaxydn arg0)
getDepthStrider(LivingEntity entity)
func_185294_d(LivingEntity arg0)
public static int
f(akz arg0)
getBlockEfficiency(LivingEntity arg0)
method_8234(class_1309 arg0)
m_qlkrewkt(C_usxaxydn arg0)
getEfficiency(LivingEntity entity)
func_185293_e(LivingEntity arg0)
getDigSpeedEnchantmentLevel(EntityLiving arg0)
public static int
b(ben arg0)
getFishingLuckBonus(ItemStack arg0)
method_8223(class_1799 arg0)
m_qhyhygvf(C_sddaxwyk arg0)
getLuckOfTheSea(ItemStack stack)
func_191529_b(ItemStack arg0)
public static int
c(ben arg0)
getFishingSpeedBonus(ItemStack arg0)
method_8215(class_1799 arg0)
m_kfuscpev(C_sddaxwyk arg0)
getLure(ItemStack stack)
func_191528_c(ItemStack arg0)
public static int
g(akz arg0)
getMobLooting(LivingEntity arg0)
method_8226(class_1309 arg0)
m_jfzsayrx(C_usxaxydn arg0)
getLooting(LivingEntity entity)
func_185283_h(LivingEntity arg0)
public static boolean
h(akz arg0)
hasAquaAffinity(LivingEntity arg0)
method_8200(class_1309 arg0)
m_zpauplkq(C_usxaxydn arg0)
hasAquaAffinity(LivingEntity entity)
func_185287_i(LivingEntity arg0)
public static boolean
i(akz arg0)
hasFrostWalker(LivingEntity arg0)
method_8216(class_1309 arg0)
m_cwzufrfa(C_usxaxydn arg0)
hasFrostWalker(LivingEntity entity)
func_189869_j(LivingEntity arg0)
public static boolean
d(ben arg0)
hasBindingCurse(ItemStack arg0)
method_8224(class_1799 arg0)
m_nmfzbmmv(C_sddaxwyk arg0)
hasBindingCurse(ItemStack stack)
func_190938_b(ItemStack arg0)
public static boolean
e(ben arg0)
hasVanishingCurse(ItemStack arg0)
method_8221(class_1799 arg0)
m_kkmhqorr(C_sddaxwyk arg0)
hasVanishingCurse(ItemStack stack)
func_190939_c(ItemStack arg0)
shouldNotDrop(ItemStack arg0)
public static int
f(ben arg0)
getLoyalty(ItemStack arg0)
method_8206(class_1799 arg0)
m_ebcyaldp(C_sddaxwyk arg0)
getLoyalty(ItemStack stack)
func_203191_f(ItemStack arg0)
public static int
g(ben arg0)
getRiptide(ItemStack arg0)
method_8202(class_1799 arg0)
m_ogntvpbr(C_sddaxwyk arg0)
getRiptide(ItemStack stack)
func_203190_g(ItemStack arg0)
public static boolean
h(ben arg0)
hasChanneling(ItemStack arg0)
method_8228(class_1799 arg0)
m_aeqkynka(C_sddaxwyk arg0)
hasChanneling(ItemStack stack)
func_203192_h(ItemStack arg0)
public static Map$Entry<EquipmentSlot, ItemStack>
b(bhx arg0, akz arg1)
getRandomItemWith(Enchantment arg0, LivingEntity arg1)
method_8204(class_1887 arg0, class_1309 arg1)
m_obijpcqw(C_jxtrubuh arg0, C_usxaxydn arg1)
getRandomEnchantedEquipment(Enchantment arg0, LivingEntity arg1)
func_222189_b(Enchantment arg0, LivingEntity arg1)
public static int
a(Random arg0, int arg1, int arg2, ben arg3)
getEnchantmentCost(Random arg0, int arg1, int arg2, ItemStack arg3)
method_8227(Random arg0, int arg1, int arg2, class_1799 arg3)
m_pcunrpng(Random arg0, int arg1, int arg2, C_sddaxwyk arg3)
calculateEnchantmentPower(Random random, int num, int enchantmentPower, ItemStack rstack)
func_77514_a(Random arg0, int arg1, int arg2, ItemStack arg3)
public static ItemStack
a(Random arg0, ben arg1, int arg2, boolean arg3)
enchantItem(Random arg0, ItemStack arg1, int arg2, boolean arg3)
method_8233(Random arg0, class_1799 arg1, int arg2, boolean arg3)
m_naelqumb(Random arg0, C_sddaxwyk arg1, int arg2, boolean arg3)
enchant(Random random, ItemStack target, int level, boolean hasTreasure)
func_77504_a(Random arg0, ItemStack arg1, int arg2, boolean arg3)
public static List<EnchantmentInstance>
b(Random arg0, ben arg1, int arg2, boolean arg3)
selectEnchantment(Random arg0, ItemStack arg1, int arg2, boolean arg3)
method_8230(Random arg0, class_1799 arg1, int arg2, boolean arg3)
m_udfcqeza(Random arg0, C_sddaxwyk arg1, int arg2, boolean arg3)
getEnchantments(Random random, ItemStack stack, int level, boolean hasTreasure)
func_77513_b(Random arg0, ItemStack arg1, int arg2, boolean arg3)
public static void
a(List<bia> arg0, bia arg1)
filterCompatibleEnchantments(List<EnchantmentInstance> arg0, EnchantmentInstance arg1)
method_8231(List<class_1889> arg0, class_1889 arg1)
m_pdlnvjwf(List<C_gsnkkurc> arg0, C_gsnkkurc arg1)
remove(List<InfoEnchantment> infos, InfoEnchantment info)
func_185282_a(List<EnchantmentData> arg0, EnchantmentData arg1)
public static boolean
a(Collection<bhx> arg0, bhx arg1)
isEnchantmentCompatible(Collection<Enchantment> arg0, Enchantment arg1)
method_8201(Collection<class_1887> arg0, class_1887 arg1)
m_ecxgwxiu(Collection<C_jxtrubuh> arg0, C_jxtrubuh arg1)
contains(Collection<Enchantment> collection, Enchantment enchantment)
func_201840_a(Collection<Enchantment> arg0, Enchantment arg1)
public static List<EnchantmentInstance>
a(int arg0, ben arg1, boolean arg2)
getAvailableEnchantmentResults(int arg0, ItemStack arg1, boolean arg2)
method_8229(int arg0, class_1799 arg1, boolean arg2)
m_pngonrhw(int arg0, C_sddaxwyk arg1, boolean arg2)
getHighestApplicableEnchantmentsAtPower(int power, ItemStack stack, boolean arg2)
func_185291_a(int arg0, ItemStack arg1, boolean arg2)