public abstract class Enchantment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Enchantment |
aquaAffinity |
static Enchantment |
baneOfArthropods |
static Enchantment |
blastProtection |
int |
effectId |
static Enchantment |
efficiency |
static Enchantment[] |
enchantmentsBookList |
static Enchantment[] |
enchantmentsList |
static Enchantment |
featherFalling |
static Enchantment |
field_151369_A |
static Enchantment |
field_151370_z |
static Enchantment |
fireAspect |
static Enchantment |
fireProtection |
static Enchantment |
flame |
static Enchantment |
fortune |
static Enchantment |
infinity |
static Enchantment |
knockback |
static Enchantment |
looting |
protected java.lang.String |
name |
static Enchantment |
power |
static Enchantment |
projectileProtection |
static Enchantment |
protection |
static Enchantment |
punch |
static Enchantment |
respiration |
static Enchantment |
sharpness |
static Enchantment |
silkTouch |
static Enchantment |
smite |
static Enchantment |
thorns |
EnumEnchantmentType |
type |
static Enchantment |
unbreaking |
Modifier | Constructor and Description |
---|---|
protected |
Enchantment(int p_i1926_1_,
int p_i1926_2_,
EnumEnchantmentType p_i1926_3_) |
Modifier and Type | Method and Description |
---|---|
int |
calcModifierDamage(int p_77318_1_,
DamageSource p_77318_2_) |
boolean |
canApply(ItemStack p_92089_1_) |
boolean |
canApplyTogether(Enchantment p_77326_1_) |
void |
func_151367_b(EntityLivingBase p_151367_1_,
Entity p_151367_2_,
int p_151367_3_) |
void |
func_151368_a(EntityLivingBase p_151368_1_,
Entity p_151368_2_,
int p_151368_3_) |
float |
func_152376_a(int p_152376_1_,
EnumCreatureAttribute p_152376_2_) |
int |
getMaxEnchantability(int p_77317_1_) |
int |
getMaxLevel() |
int |
getMinEnchantability(int p_77321_1_) |
int |
getMinLevel() |
java.lang.String |
getName() |
java.lang.String |
getTranslatedName(int p_77316_1_) |
int |
getWeight() |
Enchantment |
setName(java.lang.String p_77322_1_) |
public static final Enchantment[] enchantmentsList
public static final Enchantment[] enchantmentsBookList
public static final Enchantment protection
public static final Enchantment fireProtection
public static final Enchantment featherFalling
public static final Enchantment blastProtection
public static final Enchantment projectileProtection
public static final Enchantment respiration
public static final Enchantment aquaAffinity
public static final Enchantment thorns
public static final Enchantment sharpness
public static final Enchantment smite
public static final Enchantment baneOfArthropods
public static final Enchantment knockback
public static final Enchantment fireAspect
public static final Enchantment looting
public static final Enchantment efficiency
public static final Enchantment silkTouch
public static final Enchantment unbreaking
public static final Enchantment fortune
public static final Enchantment power
public static final Enchantment punch
public static final Enchantment flame
public static final Enchantment infinity
public static final Enchantment field_151370_z
public static final Enchantment field_151369_A
public final int effectId
public EnumEnchantmentType type
protected java.lang.String name
protected Enchantment(int p_i1926_1_, int p_i1926_2_, EnumEnchantmentType p_i1926_3_)
public int getWeight()
public int getMinLevel()
public int getMaxLevel()
public int getMinEnchantability(int p_77321_1_)
public int getMaxEnchantability(int p_77317_1_)
public int calcModifierDamage(int p_77318_1_, DamageSource p_77318_2_)
public float func_152376_a(int p_152376_1_, EnumCreatureAttribute p_152376_2_)
public boolean canApplyTogether(Enchantment p_77326_1_)
public Enchantment setName(java.lang.String p_77322_1_)
public java.lang.String getName()
public java.lang.String getTranslatedName(int p_77316_1_)
public boolean canApply(ItemStack p_92089_1_)
public void func_151368_a(EntityLivingBase p_151368_1_, Entity p_151368_2_, int p_151368_3_)
public void func_151367_b(EntityLivingBase p_151367_1_, Entity p_151367_2_, int p_151367_3_)