Class WindBurstEnchantment

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

public class WindBurstEnchantment extends Enchantment
Mappings:
Namespace Name
named net/minecraft/enchantment/WindBurstEnchantment
intermediary net/minecraft/class_9469
official dat
  • Constructor Details

    • WindBurstEnchantment

      public WindBurstEnchantment()
  • Method Details

    • onAttack

      public void onAttack(LivingEntity attacket, Entity target, int level)
      Overrides:
      onAttack in class Enchantment
      Mappings:
      Namespace Name Mixin selector
      named onAttack Lnet/minecraft/enchantment/Enchantment;onAttack(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/Entity;I)V
      intermediary method_58675 Lnet/minecraft/class_1887;method_58675(Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;I)V
      official c Ldac;c(Lbtr;Lbsw;I)V
    • 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 Ldac;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 Ldac;l()Z