public class VanishingCurseEnchantment extends Enchantment
Enchantment.Rarityname, typedelegate| Constructor and Description |
|---|
VanishingCurseEnchantment(Enchantment.Rarity rarityIn,
EquipmentSlotType... slots) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxEnchantability(int enchantmentLevel) |
int |
getMaxLevel() |
int |
getMinEnchantability(int enchantmentLevel) |
boolean |
isCurse() |
boolean |
isTreasureEnchantment() |
calcDamageByCreature, calcModifierDamage, canApply, canApplyAtEnchantingTable, canApplyTogether, getDefaultTranslationKey, getDisplayName, getEnchantmentByID, getEntityEquipment, getMinLevel, getName, getRarity, isAllowedOnBooks, isCompatibleWith, onEntityDamaged, onUserHurtgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic VanishingCurseEnchantment(Enchantment.Rarity rarityIn, EquipmentSlotType... slots)
public int getMinEnchantability(int enchantmentLevel)
getMinEnchantability in class Enchantmentpublic int getMaxEnchantability(int enchantmentLevel)
getMaxEnchantability in class Enchantmentpublic int getMaxLevel()
getMaxLevel in class Enchantmentpublic boolean isTreasureEnchantment()
isTreasureEnchantment in class Enchantmentpublic boolean isCurse()
isCurse in class Enchantment