Package net.minecraft.src
Class EnchantmentThorns
java.lang.Object
net.minecraft.src.Enchantment
net.minecraft.src.EnchantmentThorns
-
Field Summary
Fields inherited from class net.minecraft.src.Enchantment
aquaAffinity, baneOfArthropods, blastProtection, effectId, efficiency, enchantmentsBookList, enchantmentsList, featherFalling, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, name, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, thorns, type, unbreaking -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic booleanfunc_92094_a(int par0, Random par1Random) static intfunc_92095_b(int par0, Random par1Random) static voidfunc_92096_a(Entity par0Entity, EntityLivingBase par1EntityLivingBase, Random par2Random) intgetMaxEnchantability(int par1) Returns the maximum value of enchantability nedded on the enchantment level passed.intReturns the maximum level that the enchantment can have.intgetMinEnchantability(int par1) Returns the minimal value of enchantability needed on the enchantment level passed.Methods inherited from class net.minecraft.src.Enchantment
calcModifierDamage, calcModifierLiving, canApplyTogether, canBeAppliedByVanillaEnchanter, getMinLevel, getName, getTranslatedName, getWeight, setName
-
Constructor Details
-
EnchantmentThorns
public EnchantmentThorns(int par1, int par2)
-
-
Method Details
-
getMinEnchantability
public int getMinEnchantability(int par1) Returns the minimal value of enchantability needed on the enchantment level passed.- Overrides:
getMinEnchantabilityin classEnchantment
-
getMaxEnchantability
public int getMaxEnchantability(int par1) Returns the maximum value of enchantability nedded on the enchantment level passed.- Overrides:
getMaxEnchantabilityin classEnchantment
-
getMaxLevel
public int getMaxLevel()Returns the maximum level that the enchantment can have.- Overrides:
getMaxLevelin classEnchantment
-
canApply
- Overrides:
canApplyin classEnchantment
-
func_92094_a
-
func_92095_b
-
func_92096_a
public static void func_92096_a(Entity par0Entity, EntityLivingBase par1EntityLivingBase, Random par2Random)
-