Class PlayerEvent.DamagedEntityEvent

java.lang.Object
net.minecraftforge.fml.common.eventhandler.Event
noppes.npcs.api.event.CustomNPCsEvent
noppes.npcs.api.event.PlayerEvent
noppes.npcs.api.event.PlayerEvent.DamagedEntityEvent
Enclosing class:
PlayerEvent

public static class PlayerEvent.DamagedEntityEvent
extends PlayerEvent
damagedEntity
  • Field Details

    • damageSource

      public final IDamageSource damageSource
    • target

      public final IEntity target
    • damage

      public float damage
  • Constructor Details

    • DamagedEntityEvent

      public DamagedEntityEvent​(IPlayer player, net.minecraft.entity.Entity target, float damage, net.minecraft.util.DamageSource damagesource)