net.minecraft.world.item.enchantment

public class EnchantmentHelper

bny
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_16_R1.EnchantmentManager

Method summary

Modifier and TypeMethod
public static int
a(bnw arg0, bki 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(bki arg0)
getEnchantments(ItemStack arg0)
method_8222(class_1799 arg0)
m_nvnojfze(C_sddaxwyk arg0)
get(ItemStack stack)
func_82781_a(ItemStack arg0)
public static Map<Enchantment, Integer>
a(lk arg0)
deserializeEnchantments(ListTag arg0)
method_22445(class_2499 arg0)
m_uiyvmdhm(C_hqhtfwlr arg0)
fromTag(ListTag tag)
func_226652_a_(ListNBT arg0)
public static void
a(Map<bnw, Integer> arg0, bki 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(bny$a arg0, bki 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)
forEachEnchantment(EnchantmentHelper$Consumer action, ItemStack stack)
func_77518_a(EnchantmentHelper$IEnchantmentVisitor arg0, ItemStack arg1)
private static void
a(bny$a arg0, Iterable<bki> 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)
forEachEnchantment(EnchantmentHelper$Consumer action, Iterable<ItemStack> stacks)
func_77516_a(EnchantmentHelper$IEnchantmentVisitor arg0, Iterable<ItemStack> arg1)
public static int
a(Iterable<bki> arg0, anw 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(bki arg0, apc 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(aoy 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(aoy arg0, aom 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(aoy arg0, aom 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(bnw arg0, aoy arg1)
getEnchantmentLevel(Enchantment arg0, LivingEntity arg1)
method_8203(class_1887 arg0, class_1309 arg1)
m_wfidublc(C_jxtrubuh arg0, C_usxaxydn arg1)
getEquipmentLevel(Enchantment enchantment, LivingEntity entity)
func_185284_a(Enchantment arg0, LivingEntity arg1)
public static int
b(aoy 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(aoy 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(aoy 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(aoy 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(aoy 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(bki 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(bki 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(aoy 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(aoy 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(aoy 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
j(aoy arg0)
hasSoulSpeed(LivingEntity arg0)
method_25951(class_1309 arg0)
m_vonozfhq(C_usxaxydn arg0)
hasSoulSpeed(LivingEntity entity)
func_234846_j_(LivingEntity arg0)
public static boolean
d(bki 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(bki 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(bki 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(bki 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(bki 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(bnw arg0, aoy arg1)
getRandomItemWith(Enchantment arg0, LivingEntity arg1)
method_8204(class_1887 arg0, class_1309 arg1)
m_ymaphuvh(C_jxtrubuh arg0, C_usxaxydn arg1)
chooseEquipmentWith(Enchantment enchantment, LivingEntity entity)
func_222189_b(Enchantment arg0, LivingEntity arg1)
public static Map$Entry<EquipmentSlot, ItemStack>
a(bnw arg0, aoy arg1, Predicate<bki> arg2)
getRandomItemWith(Enchantment arg0, LivingEntity arg1, Predicate<ItemStack> arg2)
method_24365(class_1887 arg0, class_1309 arg1, Predicate<class_1799> arg2)
m_mieewhwi(C_jxtrubuh arg0, C_usxaxydn arg1, Predicate<C_sddaxwyk> arg2)
chooseEquipmentWith(Enchantment enchantment, LivingEntity entity, Predicate<ItemStack> condition)
func_234844_a_(Enchantment arg0, LivingEntity arg1, Predicate<ItemStack> arg2)
public static int
a(Random arg0, int arg1, int arg2, bki 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)
calculateRequiredExperienceLevel(Random random, int slotIndex, int bookshelfCount, ItemStack stack)
func_77514_a(Random arg0, int arg1, int arg2, ItemStack arg3)
public static ItemStack
a(Random arg0, bki 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 treasureAllowed)
func_77504_a(Random arg0, ItemStack arg1, int arg2, boolean arg3)
public static List<EnchantmentInstance>
b(Random arg0, bki 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)
generateEnchantments(Random random, ItemStack stack, int level, boolean treasureAllowed)
func_77513_b(Random arg0, ItemStack arg1, int arg2, boolean arg3)
public static void
a(List<bnz> arg0, bnz 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)
removeConflicts(List<EnchantmentLevelEntry> possibleEntries, EnchantmentLevelEntry pickedEntry)
func_185282_a(List<EnchantmentData> arg0, EnchantmentData arg1)
public static boolean
a(Collection<bnw> arg0, bnw 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)
isCompatible(Collection<Enchantment> existing, Enchantment candidate)
func_201840_a(Collection<Enchantment> arg0, Enchantment arg1)
public static List<EnchantmentInstance>
a(int arg0, bki 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)
getPossibleEntries(int power, ItemStack stack, boolean treasureAllowed)
func_185291_a(int arg0, ItemStack arg1, boolean arg2)