Package net.minecraft.enchantment
Class EnchantmentHelper.OnAttackedWith
java.lang.Object
net.minecraft.enchantment.EnchantmentHelper.OnAttackedWith
- All Implemented Interfaces:
EnchantmentHelper.Consumer
- Enclosing class:
- EnchantmentHelper
static final class EnchantmentHelper.OnAttackedWith
extends Object
implements EnchantmentHelper.Consumer
- Mappings:
Namespace Name official ack$aintermediary net/minecraft/class_1129$class_1737named net/minecraft/enchantment/EnchantmentHelper$OnAttackedWith
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
livingEntity
- Mappings:
Namespace Name Mixin selector official aLack$a;a:Lpr;intermediary field_7161Lnet/minecraft/class_1129$class_1737;field_7161:Lnet/minecraft/class_1699;named livingEntityLnet/minecraft/enchantment/EnchantmentHelper$OnAttackedWith;livingEntity:Lnet/minecraft/entity/LivingEntity;
-
attackedEntity
- Mappings:
Namespace Name Mixin selector official bLack$a;b:Lpk;intermediary field_7162Lnet/minecraft/class_1129$class_1737;field_7162:Lnet/minecraft/class_864;named attackedEntityLnet/minecraft/enchantment/EnchantmentHelper$OnAttackedWith;attackedEntity:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
OnAttackedWith
private OnAttackedWith()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceEnchantmentHelper.Consumer- Mappings:
Namespace Name Mixin selector official aLack$c;a(Laci;I)Vintermediary method_3538Lnet/minecraft/class_1129$class_1131;method_3538(Lnet/minecraft/class_1127;I)Vnamed acceptLnet/minecraft/enchantment/EnchantmentHelper$Consumer;accept(Lnet/minecraft/enchantment/Enchantment;I)V
-