Class SwiftSneakEnchantment

java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.SwiftSneakEnchantment
All Implemented Interfaces:
ToggleableFeature

public class SwiftSneakEnchantment extends Enchantment
Mappings:
Namespace Name
named net/minecraft/enchantment/SwiftSneakEnchantment
intermediary net/minecraft/class_7267
official dam
  • Constructor Details

    • SwiftSneakEnchantment

      public SwiftSneakEnchantment(Enchantment.Properties properties)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/enchantment/Enchantment;<init>(Lnet/minecraft/enchantment/Enchantment$Properties;)V
      intermediary <init> Lnet/minecraft/class_1887;<init>(Lnet/minecraft/class_1887$class_9427;)V
      official <init> Ldab;<init>(Ldab$b;)V
  • Method Details

    • isTreasure

      public boolean isTreasure()
      Overrides:
      isTreasure in class Enchantment
      Mappings:
      Namespace Name Mixin selector
      named isTreasure Lnet/minecraft/enchantment/Enchantment;isTreasure()Z
      intermediary method_8193 Lnet/minecraft/class_1887;method_8193()Z
      official a Ldab;a()Z
    • isAvailableForEnchantedBookOffer

      public boolean isAvailableForEnchantedBookOffer()
      Returns whether this enchantment will appear in the enchanted book trade offers of librarian villagers.
      Overrides:
      isAvailableForEnchantedBookOffer in class Enchantment
      Returns:
      whether this enchantment will appear in the enchanted book trade offers of librarian villagers
      Mappings:
      Namespace Name Mixin selector
      named isAvailableForEnchantedBookOffer Lnet/minecraft/enchantment/Enchantment;isAvailableForEnchantedBookOffer()Z
      intermediary method_25949 Lnet/minecraft/class_1887;method_25949()Z
      official k Ldab;k()Z
    • isAvailableForRandomSelection

      public boolean isAvailableForRandomSelection()
      Returns whether this enchantment will appear in the enchanting table or loots with random enchant function.
      Overrides:
      isAvailableForRandomSelection in class Enchantment
      Returns:
      whether this enchantment will appear in the enchanting table or loots with random enchant function
      Mappings:
      Namespace Name Mixin selector
      named isAvailableForRandomSelection Lnet/minecraft/enchantment/Enchantment;isAvailableForRandomSelection()Z
      intermediary method_25950 Lnet/minecraft/class_1887;method_25950()Z
      official l Ldab;l()Z