public class EnchantmentOxygen extends Enchantment
aquaAffinity, baneOfArthropods, blastProtection, effectId, efficiency, enchantmentsBookList, enchantmentsList, featherFalling, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, thorns, type, unbreaking
Constructor and Description |
---|
EnchantmentOxygen(int par1,
int par2) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxEnchantability(int par1)
Returns the maximum value of enchantability nedded on the enchantment level passed.
|
int |
getMaxLevel()
Returns the maximum level that the enchantment can have.
|
int |
getMinEnchantability(int par1)
Returns the minimal value of enchantability needed on the enchantment level passed.
|
addToBookList, calcModifierDamage, calcModifierLiving, canApply, canApplyAtEnchantingTable, canApplyTogether, getMinLevel, getName, getTranslatedName, getWeight, isAllowedOnBooks, setName
public int getMinEnchantability(int par1)
getMinEnchantability
in class Enchantment
public int getMaxEnchantability(int par1)
getMaxEnchantability
in class Enchantment
public int getMaxLevel()
getMaxLevel
in class Enchantment