Class EnchantmentHelper.OnDamagedWith

java.lang.Object
net.minecraft.enchantment.EnchantmentHelper.OnDamagedWith
All Implemented Interfaces:
EnchantmentHelper.Listener
Enclosing class:
EnchantmentHelper

static final class EnchantmentHelper.OnDamagedWith
extends Object
implements EnchantmentHelper.Listener
Mappings:
Namespace Name
official ack$b
intermediary net/minecraft/class_66$class_68
named net/minecraft/enchantment/EnchantmentHelper$OnDamagedWith
  • Field Details

    • livingEntity

      public LivingEntity livingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lack$b;a:Lpr;
      intermediary field_163 Lnet/minecraft/class_66$class_68;field_163:Lnet/minecraft/class_1752;
      named livingEntity Lnet/minecraft/enchantment/EnchantmentHelper$OnDamagedWith;livingEntity:Lnet/minecraft/entity/LivingEntity;
    • attackedEntity

      public Entity attackedEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lack$b;b:Lpk;
      intermediary field_164 Lnet/minecraft/class_66$class_68;field_164:Lnet/minecraft/class_1745;
      named attackedEntity Lnet/minecraft/enchantment/EnchantmentHelper$OnDamagedWith;attackedEntity:Lnet/minecraft/entity/Entity;
  • Constructor Details

    • OnDamagedWith

      private OnDamagedWith()
  • Method Details

    • accept

      public void accept​(Enchantment enchantment, int power)
      Specified by:
      accept in interface EnchantmentHelper.Listener
      Mappings:
      Namespace Name Mixin selector
      official a Lack$c;a(Laci;I)V
      intermediary method_123 Lnet/minecraft/class_66$class_69;method_123(Lnet/minecraft/class_64;I)V
      named accept Lnet/minecraft/enchantment/EnchantmentHelper$Listener;accept(Lnet/minecraft/enchantment/Enchantment;I)V