Class SwiftSneakEnchantment
java.lang.Object
net.minecraft.world.item.enchantment.Enchantment
net.minecraft.world.item.enchantment.SwiftSneakEnchantment
- All Implemented Interfaces:
IForgeEnchantment
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.enchantment.Enchantment
Enchantment.Rarity -
Field Summary
Fields inherited from class net.minecraft.world.item.enchantment.Enchantment
category, descriptionId -
Constructor Summary
ConstructorsConstructorDescriptionSwiftSneakEnchantment(Enchantment.Rarity p_220306_, EquipmentSlot... p_220307_) -
Method Summary
Modifier and TypeMethodDescriptionintgetMaxCost(int p_220313_) intintgetMinCost(int p_220310_) booleanbooleanbooleanMethods inherited from class net.minecraft.world.item.enchantment.Enchantment
builtInRegistryHolder, byId, canApplyAtEnchantingTable, canEnchant, checkCompatibility, doPostAttack, doPostHurt, getDamageBonus, getDamageProtection, getDescriptionId, getFullname, getMinLevel, getOrCreateDescriptionId, getRarity, getSlotItems, isAllowedOnBooks, isCompatibleWith, isCurseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeEnchantment
allowedInCreativeTab, getDamageBonus
-
Constructor Details
-
SwiftSneakEnchantment
-
-
Method Details
-
getMinCost
public int getMinCost(int p_220310_) - Overrides:
getMinCostin classEnchantment
-
getMaxCost
public int getMaxCost(int p_220313_) - Overrides:
getMaxCostin classEnchantment
-
isTreasureOnly
public boolean isTreasureOnly()- Overrides:
isTreasureOnlyin classEnchantment
-
isTradeable
public boolean isTradeable()- Overrides:
isTradeablein classEnchantment
-
isDiscoverable
public boolean isDiscoverable()- Overrides:
isDiscoverablein classEnchantment
-
getMaxLevel
public int getMaxLevel()- Overrides:
getMaxLevelin classEnchantment
-