Package net.minecraft.enchantment
Class SwiftSneakEnchantment
java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.SwiftSneakEnchantment
- Mappings:
Namespace Name official civintermediary net/minecraft/class_7267named 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
translationKey, type -
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 official <init>Lciv;<init>(Lcie$a;[Lbej;)Vintermediary <init>Lnet/minecraft/class_7267;<init>(Lnet/minecraft/class_1887$class_1888;[Lnet/minecraft/class_1304;)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 official aLcie;a(I)Iintermediary method_8182Lnet/minecraft/class_1887;method_8182(I)Inamed getMinPowerLnet/minecraft/enchantment/Enchantment;getMinPower(I)I
-
getMaxPower
public int getMaxPower(int level) - Overrides:
getMaxPowerin classEnchantment- Mappings:
Namespace Name Mixin selector official bLcie;b(I)Iintermediary method_20742Lnet/minecraft/class_1887;method_20742(I)Inamed getMaxPowerLnet/minecraft/enchantment/Enchantment;getMaxPower(I)I
-
isTreasure
public boolean isTreasure()- Overrides:
isTreasurein classEnchantment- Mappings:
Namespace Name Mixin selector official bLcie;b()Zintermediary method_8193Lnet/minecraft/class_1887;method_8193()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 official hLcie;h()Zintermediary method_25949Lnet/minecraft/class_1887;method_25949()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 official iLcie;i()Zintermediary method_25950Lnet/minecraft/class_1887;method_25950()Znamed isAvailableForRandomSelectionLnet/minecraft/enchantment/Enchantment;isAvailableForRandomSelection()Z
-
getMaxLevel
public int getMaxLevel()- Overrides:
getMaxLevelin classEnchantment- Mappings:
Namespace Name Mixin selector official aLcie;a()Iintermediary method_8183Lnet/minecraft/class_1887;method_8183()Inamed getMaxLevelLnet/minecraft/enchantment/Enchantment;getMaxLevel()I
-