|
final int | effectId |
|
EnumEnchantmentType | type |
|
static final Enchantment[] | enchantmentsList = new Enchantment[256] |
|
static final Enchantment[] | field_92090_c |
|
static final Enchantment | protection = new EnchantmentProtection(0, 10, 0) |
|
static final Enchantment | fireProtection = new EnchantmentProtection(1, 5, 1) |
|
static final Enchantment | featherFalling = new EnchantmentProtection(2, 5, 2) |
|
static final Enchantment | blastProtection = new EnchantmentProtection(3, 2, 3) |
|
static final Enchantment | projectileProtection = new EnchantmentProtection(4, 5, 4) |
|
static final Enchantment | respiration = new EnchantmentOxygen(5, 2) |
|
static final Enchantment | aquaAffinity = new EnchantmentWaterWorker(6, 2) |
|
static final Enchantment | thorns = new EnchantmentThorns(7, 1) |
|
static final Enchantment | sharpness = new EnchantmentDamage(16, 10, 0) |
|
static final Enchantment | smite = new EnchantmentDamage(17, 5, 1) |
|
static final Enchantment | baneOfArthropods = new EnchantmentDamage(18, 5, 2) |
|
static final Enchantment | knockback = new EnchantmentKnockback(19, 5) |
|
static final Enchantment | fireAspect = new EnchantmentFireAspect(20, 2) |
|
static final Enchantment | looting = new EnchantmentLootBonus(21, 2, EnumEnchantmentType.weapon) |
|
static final Enchantment | efficiency = new EnchantmentDigging(32, 10) |
|
static final Enchantment | silkTouch = new EnchantmentUntouching(33, 1) |
|
static final Enchantment | unbreaking = new EnchantmentDurability(34, 5) |
|
static final Enchantment | fortune = new EnchantmentLootBonus(35, 2, EnumEnchantmentType.digger) |
|
static final Enchantment | power = new EnchantmentArrowDamage(48, 10) |
|
static final Enchantment | punch = new EnchantmentArrowKnockback(49, 2) |
|
static final Enchantment | flame = new EnchantmentArrowFire(50, 2) |
|
static final Enchantment | infinity = new EnchantmentArrowInfinite(51, 1) |
|
String | name |
|
net.minecraft.enchantment.EnchantmentDurability.EnchantmentDurability |
( |
int |
par1, |
|
|
int |
par2 |
|
) |
| |
|
protected |
boolean net.minecraft.enchantment.EnchantmentDurability.canApply |
( |
ItemStack |
par1ItemStack) | |
|
int net.minecraft.enchantment.EnchantmentDurability.getMaxEnchantability |
( |
int |
par1) | |
|
Returns the maximum value of enchantability nedded on the enchantment level passed.
int net.minecraft.enchantment.EnchantmentDurability.getMaxLevel |
( |
) | |
|
Returns the maximum level that the enchantment can have.
int net.minecraft.enchantment.EnchantmentDurability.getMinEnchantability |
( |
int |
par1) | |
|
Returns the minimal value of enchantability needed on the enchantment level passed.
static boolean net.minecraft.enchantment.EnchantmentDurability.negateDamage |
( |
ItemStack |
par0ItemStack, |
|
|
int |
par1, |
|
|
Random |
par2Random |
|
) |
| |
|
static |
Used by ItemStack.attemptDamageItem. Randomly determines if a point of damage should be negated using the enchantment level (par1). If the ItemStack is Armor then there is a flat 60% chance for damage to be negated no matter the enchantment level, otherwise there is a 1-(par/1) chance for damage to be negated.
The documentation for this class was generated from the following file: