Package net.minecraft.enchantment
Class SwiftSneakEnchantment
java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.SwiftSneakEnchantment
- Mappings:
Namespace Name intermediary net/minecraft/class_7267official ckvnamed net/minecraft/enchantment/SwiftSneakEnchantment
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.enchantment.Enchantment
Enchantment.Rarity -
Field Summary
Fields inherited from class net.minecraft.enchantment.Enchantment
target, translationKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetMaxPower(int level) intgetMinPower(int level) booleanReturns whether this enchantment will appear in the enchanted book trade offers of librarian villagers.booleanReturns whether this enchantment will appear in the enchanting table or loots with random enchant function.booleanMethods inherited from class net.minecraft.enchantment.Enchantment
byRawId, canAccept, canCombine, getAttackDamage, getEquipment, getMinLevel, getName, getOrCreateTranslationKey, getProtectionAmount, getRarity, getTranslationKey, isAcceptableItem, isCursed, onTargetDamaged, onUserDamaged
-
Constructor Details
-
SwiftSneakEnchantment
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_7267;<init>(Lnet/minecraft/class_1887$class_1888;[Lnet/minecraft/class_1304;)Vofficial <init>Lckv;<init>(Lcke$a;[Lbfm;)Vnamed <init>Lnet/minecraft/enchantment/SwiftSneakEnchantment;<init>(Lnet/minecraft/enchantment/Enchantment$Rarity;[Lnet/minecraft/entity/EquipmentSlot;)V
-
-
Method Details
-
getMinPower
public int getMinPower(int level) - Overrides:
getMinPowerin classEnchantment- Mappings:
Namespace Name Mixin selector intermediary method_8182Lnet/minecraft/class_1887;method_8182(I)Iofficial aLcke;a(I)Inamed getMinPowerLnet/minecraft/enchantment/Enchantment;getMinPower(I)I
-
getMaxPower
public int getMaxPower(int level) - Overrides:
getMaxPowerin classEnchantment- Mappings:
Namespace Name Mixin selector intermediary method_20742Lnet/minecraft/class_1887;method_20742(I)Iofficial bLcke;b(I)Inamed getMaxPowerLnet/minecraft/enchantment/Enchantment;getMaxPower(I)I
-
isTreasure
public boolean isTreasure()- Overrides:
isTreasurein classEnchantment- Mappings:
Namespace Name Mixin selector intermediary method_8193Lnet/minecraft/class_1887;method_8193()Zofficial bLcke;b()Znamed isTreasureLnet/minecraft/enchantment/Enchantment;isTreasure()Z
-
isAvailableForEnchantedBookOffer
public boolean isAvailableForEnchantedBookOffer()Returns whether this enchantment will appear in the enchanted book trade offers of librarian villagers.- Overrides:
isAvailableForEnchantedBookOfferin classEnchantment- Returns:
- whether this enchantment will appear in the enchanted book trade offers of librarian villagers
- Mappings:
Namespace Name Mixin selector intermediary method_25949Lnet/minecraft/class_1887;method_25949()Zofficial hLcke;h()Znamed isAvailableForEnchantedBookOfferLnet/minecraft/enchantment/Enchantment;isAvailableForEnchantedBookOffer()Z
-
isAvailableForRandomSelection
public boolean isAvailableForRandomSelection()Returns whether this enchantment will appear in the enchanting table or loots with random enchant function.- Overrides:
isAvailableForRandomSelectionin classEnchantment- Returns:
- whether this enchantment will appear in the enchanting table or loots with random enchant function
- Mappings:
Namespace Name Mixin selector intermediary method_25950Lnet/minecraft/class_1887;method_25950()Zofficial iLcke;i()Znamed isAvailableForRandomSelectionLnet/minecraft/enchantment/Enchantment;isAvailableForRandomSelection()Z
-
getMaxLevel
public int getMaxLevel()- Overrides:
getMaxLevelin classEnchantment- Mappings:
Namespace Name Mixin selector intermediary method_8183Lnet/minecraft/class_1887;method_8183()Iofficial aLcke;a()Inamed getMaxLevelLnet/minecraft/enchantment/Enchantment;getMaxLevel()I
-