Package net.minecraft.src
Class EnchantmentOxygen
java.lang.Object
net.minecraft.src.Enchantment
net.minecraft.src.EnchantmentOxygen
-
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 TypeMethodDescriptionintgetMaxEnchantability(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, canApply, canApplyTogether, canBeAppliedByVanillaEnchanter, getMinLevel, getName, getTranslatedName, getWeight, setName
-
Constructor Details
-
EnchantmentOxygen
public EnchantmentOxygen(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
-