Package net.minecraft.enchantment
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$eintermediary net/minecraft/class_66$class_71named net/minecraft/enchantment/EnchantmentHelper$ProtectionModifier
-
Field Summary
Fields Modifier and Type Field Description intprotectionDamageSourcesource -
Constructor Summary
Constructors Modifier Constructor Description privateProtectionModifier() -
Method Summary
Modifier and Type Method Description voidaccept(Enchantment enchantment, int power)
-
Field Details
-
protection
public int protection- Mappings:
Namespace Name Mixin selector official aLack$e;a:Iintermediary field_167Lnet/minecraft/class_66$class_71;field_167:Inamed protectionLnet/minecraft/enchantment/EnchantmentHelper$ProtectionModifier;protection:I
-
source
- Mappings:
Namespace Name Mixin selector official bLack$e;b:Low;intermediary field_168Lnet/minecraft/class_66$class_71;field_168:Lnet/minecraft/class_1733;named sourceLnet/minecraft/enchantment/EnchantmentHelper$ProtectionModifier;source:Lnet/minecraft/entity/damage/DamageSource;
-
-
Constructor Details
-
ProtectionModifier
private ProtectionModifier()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceEnchantmentHelper.Listener- Mappings:
Namespace Name Mixin selector official aLack$c;a(Laci;I)Vintermediary method_123Lnet/minecraft/class_66$class_69;method_123(Lnet/minecraft/class_64;I)Vnamed acceptLnet/minecraft/enchantment/EnchantmentHelper$Listener;accept(Lnet/minecraft/enchantment/Enchantment;I)V
-