Class AttackEvent.DamageDealt

java.lang.Object
net.neoforged.bus.api.Event
Enclosing class:
AttackEvent

public static class AttackEvent.DamageDealt extends AttackEvent
Event fired after damage has been done for an attack.
  • Field Details

    • damageDealt

      public float damageDealt
      The amount of damage that was inflicted. It will not be a number higher than the target's max HP.
    • damageTypeEnum

      public DamageTypeEnum damageTypeEnum
      The type of battle damage.
  • Constructor Details