net.minecraft.enchantment

public class EnchantmentHelper

awc
net.minecraft.unmapped.C_47465897
net.minecraft.enchantment.EnchantmentHelper
net.minecraft.enchantment.EnchantmentHelper

Field summary

Modifier and TypeField
private static final EnchantmentHelper$ProtectionModifier
a
f_26133761
PROTECTION_MODIFIER
field_77520_b
private static final EnchantmentHelper$DamageModifier
b
f_73461663
DAMAGE_MODIFIER
field_77521_c
private static final EnchantmentHelper$ProtectionWildcard
c
f_80457903
PROTECTION_WILDCARD
field_151388_d
private static final EnchantmentHelper$DamageWildcard
d
f_64423710
DAMAGE_WILDCARD
field_151389_e

Method summary

Modifier and TypeMethod
public static int
a(awa arg0, ata arg1)
m_17657909(C_24720596 arg0, C_88708284 arg1)
getLevel(Enchantment enchantment, ItemStack item)
func_77506_a(Enchantment arg0, ItemStack arg1)
public static Map<Enchantment, Integer>
a(ata arg0)
m_52619287(C_88708284 arg0)
getEnchantments(ItemStack item)
func_82781_a(ItemStack arg0)
public static void
a(Map<awa, Integer> arg0, ata arg1)
m_72216552(Map<C_24720596, Integer> arg0, C_88708284 arg1)
setEnchantments(Map<Enchantment, Integer> enchantments, ItemStack item)
func_82782_a(Map<Enchantment, Integer> arg0, ItemStack arg1)
private static void
a(awc$c arg0, ata arg1)
m_53333827(C_47465897$C_22001690 arg0, C_88708284 arg1)
applyAttackModifier(EnchantmentHelper$AttackModifier modifier, ItemStack item)
func_77518_a(EnchantmentHelper$IModifier arg0, ItemStack arg1)
private static void
a(awc$c arg0, Iterable<ata> arg1)
m_38464440(C_47465897$C_22001690 arg0, Iterable<C_88708284> arg1)
applyAttackModifier(EnchantmentHelper$AttackModifier modifier, Iterable<ItemStack> items)
func_77516_a(EnchantmentHelper$IModifier arg0, Iterable<ItemStack> arg1)
public static int
a(Iterable<ata> arg0, adx arg1)
m_31984495(Iterable<C_88708284> arg0, C_83334639 arg1)
modifyProtection(Iterable<ItemStack> armor, DamageSource source)
func_77508_a(Iterable<ItemStack> arg0, DamageSource arg1)
public static float
a(ata arg0, afa arg1)
m_85323163(C_88708284 arg0, C_23060071 arg1)
modifyDamage(ItemStack weapon, MobType target)
func_152377_a(ItemStack arg0, CreatureAttribute arg1)
public static float
a(aex arg0)
m_31014697(C_74425583 arg0)
getSweepingDamageRatio(LivingEntity entity)
func_191527_a(EntityLivingBase arg0)
public static void
a(aex arg0, aeo arg1)
m_81879165(C_74425583 arg0, C_42232651 arg1)
applyProtectionWildcard(LivingEntity attacker, Entity target)
func_151384_a(EntityLivingBase arg0, Entity arg1)
public static void
b(aex arg0, aeo arg1)
m_23389572(C_74425583 arg0, C_42232651 arg1)
applyDamageWildcard(LivingEntity attacker, Entity target)
func_151385_b(EntityLivingBase arg0, Entity arg1)
public static int
a(awa arg0, aex arg1)
m_10348377(C_24720596 arg0, C_74425583 arg1)
getLevel(Enchantment enchantment, LivingEntity entity)
func_185284_a(Enchantment arg0, EntityLivingBase arg1)
public static int
b(aex arg0)
m_81396724(C_74425583 arg0)
getKnockbackLevel(LivingEntity attacker)
func_77501_a(EntityLivingBase arg0)
public static int
c(aex arg0)
m_06994827(C_74425583 arg0)
getFireAspectLevel(LivingEntity entity)
func_90036_a(EntityLivingBase arg0)
public static int
d(aex arg0)
m_69992834(C_74425583 arg0)
getRespirationLevel(LivingEntity entity)
func_185292_c(EntityLivingBase arg0)
public static int
e(aex arg0)
m_04992863(C_74425583 arg0)
getDepthStriderLevel(LivingEntity entity)
func_185294_d(EntityLivingBase arg0)
public static int
f(aex arg0)
m_36663327(C_74425583 arg0)
getEfficiencyLevel(LivingEntity entity)
func_185293_e(EntityLivingBase arg0)
public static int
b(ata arg0)
m_59849263(C_88708284 arg0)
getLuckOfTheSeaLevel(ItemStack item)
func_191529_b(ItemStack arg0)
public static int
c(ata arg0)
m_03989679(C_88708284 arg0)
getLureLevel(ItemStack item)
func_191528_c(ItemStack arg0)
public static int
g(aex arg0)
m_10182799(C_74425583 arg0)
getLootingLevel(LivingEntity entity)
func_185283_h(EntityLivingBase arg0)
public static boolean
h(aex arg0)
m_42775109(C_74425583 arg0)
getAquaAffinityLevel(LivingEntity entity)
func_185287_i(EntityLivingBase arg0)
public static boolean
i(aex arg0)
m_28021571(C_74425583 arg0)
getFrostWalkerLevel(LivingEntity entity)
func_189869_j(EntityLivingBase arg0)
public static boolean
d(ata arg0)
m_08477009(C_88708284 arg0)
getBindingCurseLevel(ItemStack item)
func_190938_b(ItemStack arg0)
public static boolean
e(ata arg0)
m_11708129(C_88708284 arg0)
getVanishingCurseLevel(ItemStack item)
func_190939_c(ItemStack arg0)
public static int
f(ata arg0)
m_09364028(C_88708284 arg0)
getLoyaltyLevel(ItemStack item)
func_203191_f(ItemStack arg0)
public static int
g(ata arg0)
m_54637080(C_88708284 arg0)
getRiptideLevel(ItemStack item)
func_203190_g(ItemStack arg0)
public static boolean
h(ata arg0)
m_73937589(C_88708284 arg0)
getChannelingLevel(ItemStack item)
func_203192_h(ItemStack arg0)
public static ItemStack
b(awa arg0, aex arg1)
m_91598732(C_24720596 arg0, C_74425583 arg1)
getEquipmentWithEnchantment(Enchantment enchantment, LivingEntity entity)
func_92099_a(Enchantment arg0, EntityLivingBase arg1)
public static int
a(Random arg0, int arg1, int arg2, ata arg3)
m_17529263(Random arg0, int arg1, int arg2, C_88708284 arg3)
getRequiredXpLevel(Random random, int entry, int max, ItemStack item)
func_77514_a(Random arg0, int arg1, int arg2, ItemStack arg3)
public static ItemStack
a(Random arg0, ata arg1, int arg2, boolean arg3)
m_82181059(Random arg0, C_88708284 arg1, int arg2, boolean arg3)
addRandomEnchantment(Random random, ItemStack item, int levels, boolean skipTargetCheck)
func_77504_a(Random arg0, ItemStack arg1, int arg2, boolean arg3)
public static List<EnchantmentEntry>
b(Random arg0, ata arg1, int arg2, boolean arg3)
m_34166289(Random arg0, C_88708284 arg1, int arg2, boolean arg3)
getEnchantmentEntries(Random random, ItemStack item, int levels, boolean skipTargetCheck)
func_77513_b(Random arg0, ItemStack arg1, int arg2, boolean arg3)
public static void
a(List<awd> arg0, awd arg1)
m_80894360(List<C_12641355> arg0, C_12641355 arg1)
removeIncompatibleEnchantmentEntries(List<EnchantmentEntry> entries, EnchantmentEntry enchantment)
func_185282_a(List<EnchantmentData> arg0, EnchantmentData arg1)
public static boolean
a(Collection<awa> arg0, awa arg1)
m_01977240(Collection<C_24720596> arg0, C_24720596 arg1)
areCompatible(Collection<Enchantment> enchantments, Enchantment enchantment)
func_201840_a(Collection<Enchantment> arg0, Enchantment arg1)
public static List<EnchantmentEntry>
a(int arg0, ata arg1, boolean arg2)
m_81799371(int arg0, C_88708284 arg1, boolean arg2)
getAvailableEnchantmentEntries(int levels, ItemStack item, boolean skipTargetCheck)
func_185291_a(int arg0, ItemStack arg1, boolean arg2)