|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.src.Enchantment
net.minecraft.src.EnchantmentDurability
public class EnchantmentDurability
| Field Summary |
|---|
| Fields inherited from class net.minecraft.src.Enchantment |
|---|
aquaAffinity, baneOfArthropods, blastProtection, effectId, efficiency, enchantmentsList, featherFalling, fireAspect, fireProtection, flame, fortune, infinity, knockback, looting, power, projectileProtection, protection, punch, respiration, sharpness, silkTouch, smite, type, unbreaking |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class net.minecraft.src.Enchantment |
|---|
calcModifierDamage, calcModifierLiving, canApplyTogether, canEnchantItem, getMinLevel, getName, getTranslatedName, getWeight, setName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getMinEnchantability(int par1)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int par1)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||