Package net.minecraft.enchantment
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$bintermediary net/minecraft/class_66$class_68named net/minecraft/enchantment/EnchantmentHelper$OnDamagedWith
-
Field Summary
Fields Modifier and Type Field Description EntityattackedEntityLivingEntitylivingEntity -
Constructor Summary
Constructors Modifier Constructor Description privateOnDamagedWith() -
Method Summary
Modifier and Type Method Description voidaccept(Enchantment enchantment, int power)
-
Field Details
-
livingEntity
- Mappings:
Namespace Name Mixin selector official aLack$b;a:Lpr;intermediary field_163Lnet/minecraft/class_66$class_68;field_163:Lnet/minecraft/class_1752;named livingEntityLnet/minecraft/enchantment/EnchantmentHelper$OnDamagedWith;livingEntity:Lnet/minecraft/entity/LivingEntity;
-
attackedEntity
- Mappings:
Namespace Name Mixin selector official bLack$b;b:Lpk;intermediary field_164Lnet/minecraft/class_66$class_68;field_164:Lnet/minecraft/class_1745;named attackedEntityLnet/minecraft/enchantment/EnchantmentHelper$OnDamagedWith;attackedEntity:Lnet/minecraft/entity/Entity;
-
-
Constructor Details
-
OnDamagedWith
private OnDamagedWith()
-
-
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
-