Class EnchantmentHelper.ProtectionModifier

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

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

    • protection

      public int protection
      Mappings:
      Namespace Name Mixin selector
      official a Lack$e;a:I
      intermediary field_167 Lnet/minecraft/class_66$class_71;field_167:I
      named protection Lnet/minecraft/enchantment/EnchantmentHelper$ProtectionModifier;protection:I
    • source

      public DamageSource source
      Mappings:
      Namespace Name Mixin selector
      official b Lack$e;b:Low;
      intermediary field_168 Lnet/minecraft/class_66$class_71;field_168:Lnet/minecraft/class_1733;
      named source Lnet/minecraft/enchantment/EnchantmentHelper$ProtectionModifier;source:Lnet/minecraft/entity/damage/DamageSource;
  • Constructor Details

    • ProtectionModifier

      private ProtectionModifier()
  • 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