public class class_5511 extends Enchantment
Enchantment.RaritytranslationKey, type| Constructor and Description |
|---|
class_5511(Enchantment.Rarity rarity,
EquipmentSlot[] equipmentSlot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAccept(Enchantment enchantment)
Returns whether this enchantment can exist on an item stack with the
other enchantment. |
float |
getAttackDamage(int int2,
LivingEntity livingEntity) |
int |
getMaxLevel() |
int |
getMaxPower(int int2) |
int |
getMinPower(int int2) |
byRawId, canCombine, getEquipment, getMinLevel, getName, getOrCreateTranslationKey, getProtectionAmount, getRarity, getTranslationKey, isAcceptableItem, isAvailableForEnchantedBookOffer, isAvailableForRandomSelection, isCursed, isTreasure, onTargetDamaged, onUserDamagedpublic class_5511(Enchantment.Rarity rarity, EquipmentSlot[] equipmentSlot)
public int getMinPower(int int2)
getMinPower in class Enchantmentpublic int getMaxPower(int int2)
getMaxPower in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic float getAttackDamage(int int2,
LivingEntity livingEntity)
getAttackDamage in class Enchantmentpublic boolean canAccept(Enchantment enchantment)
Enchantmentother enchantment.canAccept in class Enchantment