Class VanishingCurseEnchantment
java.lang.Object
net.minecraft.world.item.enchantment.Enchantment
net.minecraft.world.item.enchantment.VanishingCurseEnchantment
- All Implemented Interfaces:
- IEnchantmentExtension
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.world.item.enchantment.EnchantmentEnchantment.Rarity
- 
Field SummaryFields inherited from class net.minecraft.world.item.enchantment.Enchantmentcategory, descriptionId
- 
Constructor SummaryConstructorsConstructorDescriptionVanishingCurseEnchantment(Enchantment.Rarity p_45270_, EquipmentSlot... p_45271_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetMaxCost(int p_45277_) intgetMinCost(int p_45274_) booleanisCurse()booleanMethods inherited from class net.minecraft.world.item.enchantment.EnchantmentbuiltInRegistryHolder, byId, canApplyAtEnchantingTable, canEnchant, checkCompatibility, doPostAttack, doPostHurt, getDamageBonus, getDamageProtection, getDescriptionId, getFullname, getMaxLevel, getMinLevel, getOrCreateDescriptionId, getRarity, getSlotItems, isAllowedOnBooks, isCompatibleWith, isDiscoverable, isTradeableMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.extensions.IEnchantmentExtensionallowedInCreativeTab, getDamageBonus
- 
Constructor Details- 
VanishingCurseEnchantment
 
- 
- 
Method Details- 
getMinCostpublic int getMinCost(int p_45274_) - Overrides:
- getMinCostin class- Enchantment
 
- 
getMaxCostpublic int getMaxCost(int p_45277_) - Overrides:
- getMaxCostin class- Enchantment
 
- 
isTreasureOnlypublic boolean isTreasureOnly()- Overrides:
- isTreasureOnlyin class- Enchantment
 
- 
isCursepublic boolean isCurse()- Overrides:
- isCursein class- Enchantment
 
 
-