Class EnchantmentHelper.ProtectionModifier

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

static final class EnchantmentHelper.ProtectionModifier extends Object implements EnchantmentHelper.Consumer
Mappings:
Namespace Name
official aik$e
intermediary net/minecraft/class_1129$class_1133
named net/minecraft/enchantment/EnchantmentHelper$ProtectionModifier
  • Field Details

    • protection

      public int protection
      Mappings:
      Namespace Name Mixin selector
      official a Laik$e;a:I
      intermediary field_4494 Lnet/minecraft/class_1129$class_1133;field_4494:I
      named protection Lnet/minecraft/enchantment/EnchantmentHelper$ProtectionModifier;protection:I
    • source

      public DamageSource source
      Mappings:
      Namespace Name Mixin selector
      official b Laik$e;b:Lry;
      intermediary field_4495 Lnet/minecraft/class_1129$class_1133;field_4495:Lnet/minecraft/class_856;
      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 level)
      Specified by:
      accept in interface EnchantmentHelper.Consumer
      Mappings:
      Namespace Name Mixin selector
      official a Laik$c;a(Laii;I)V
      intermediary method_3538 Lnet/minecraft/class_1129$class_1131;method_3538(Lnet/minecraft/class_1127;I)V
      named accept Lnet/minecraft/enchantment/EnchantmentHelper$Consumer;accept(Lnet/minecraft/enchantment/Enchantment;I)V