public class EnchantmentSweepingEdge extends Enchantment
Enchantment.Rarity
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
name, REGISTRY, type
delegate
Constructor and Description |
---|
EnchantmentSweepingEdge(Enchantment.Rarity p_i47366_1_,
EntityEquipmentSlot... p_i47366_2_) |
Modifier and Type | Method and Description |
---|---|
static float |
func_191526_e(int p_191526_0_) |
int |
getMaxEnchantability(int enchantmentLevel)
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 enchantmentLevel)
Returns the minimal value of enchantability needed on the enchantment level passed.
|
java.lang.String |
getName()
Return the name of key in translation table of this enchantment.
|
calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, func_191560_c, getEnchantmentByID, getEnchantmentByLocation, getEnchantmentID, getEntityEquipment, getMinLevel, getRarity, getTranslatedName, isAllowedOnBooks, isCurse, isTreasureEnchantment, onEntityDamaged, onUserHurt, registerEnchantments, setName
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public EnchantmentSweepingEdge(Enchantment.Rarity p_i47366_1_, EntityEquipmentSlot... p_i47366_2_)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability
in class Enchantment
public int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability
in class Enchantment
public int getMaxLevel()
getMaxLevel
in class Enchantment
public static float func_191526_e(int p_191526_0_)
public java.lang.String getName()
getName
in class Enchantment