public class EnchantmentFishingSpeed extends Enchantment
Enchantment.RarityIForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>name, REGISTRY, typedelegate| Modifier | Constructor and Description |
|---|---|
protected |
EnchantmentFishingSpeed(Enchantment.Rarity rarityIn,
EnumEnchantmentType typeIn,
EntityEquipmentSlot... slots) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, func_191560_c, getEnchantmentByID, getEnchantmentByLocation, getEnchantmentID, getEntityEquipment, getMinLevel, getName, getRarity, getTranslatedName, isAllowedOnBooks, isCurse, isTreasureEnchantment, onEntityDamaged, onUserHurt, registerEnchantments, setNamegetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameprotected EnchantmentFishingSpeed(Enchantment.Rarity rarityIn, EnumEnchantmentType typeIn, EntityEquipmentSlot... slots)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantment