Class SwiftSneakEnchantment
java.lang.Object
net.minecraft.world.item.enchantment.Enchantment
net.minecraft.world.item.enchantment.SwiftSneakEnchantment
- 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 SummaryConstructorsConstructorDescriptionSwiftSneakEnchantment(Enchantment.Rarity p_220306_, EquipmentSlot... p_220307_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetMaxCost(int p_220313_) intintgetMinCost(int p_220310_) booleanbooleanbooleanMethods inherited from class net.minecraft.world.item.enchantment.EnchantmentbuiltInRegistryHolder, byId, canApplyAtEnchantingTable, canEnchant, checkCompatibility, doPostAttack, doPostHurt, getDamageBonus, getDamageProtection, getDescriptionId, getFullname, getMinLevel, getOrCreateDescriptionId, getRarity, getSlotItems, isAllowedOnBooks, isCompatibleWith, isCurseMethods 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- 
SwiftSneakEnchantment
 
- 
- 
Method Details- 
getMinCostpublic int getMinCost(int p_220310_) - Overrides:
- getMinCostin class- Enchantment
 
- 
getMaxCostpublic int getMaxCost(int p_220313_) - Overrides:
- getMaxCostin class- Enchantment
 
- 
isTreasureOnlypublic boolean isTreasureOnly()- Overrides:
- isTreasureOnlyin class- Enchantment
 
- 
isTradeablepublic boolean isTradeable()- Overrides:
- isTradeablein class- Enchantment
 
- 
isDiscoverablepublic boolean isDiscoverable()- Overrides:
- isDiscoverablein class- Enchantment
 
- 
getMaxLevelpublic int getMaxLevel()- Overrides:
- getMaxLevelin class- Enchantment
 
 
-