net.minecraftforge.event.entity.living
Class LivingAttackEvent

java.lang.Object
  extended by net.minecraftforge.event.Event
      extended by net.minecraftforge.event.entity.EntityEvent
          extended by net.minecraftforge.event.entity.living.LivingEvent
              extended by net.minecraftforge.event.entity.living.LivingAttackEvent

public class LivingAttackEvent
extends LivingEvent


Nested Class Summary
 
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.living.LivingEvent
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
 
Nested classes/interfaces inherited from class net.minecraftforge.event.entity.EntityEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk
 
Nested classes/interfaces inherited from class net.minecraftforge.event.Event
Event.HasResult, Event.Result
 
Field Summary
 int ammount
           
 DamageSource source
           
 
Fields inherited from class net.minecraftforge.event.entity.living.LivingEvent
entityLiving
 
Fields inherited from class net.minecraftforge.event.entity.EntityEvent
entity
 
Constructor Summary
LivingAttackEvent(EntityLiving entity, DamageSource source, int ammount)
           
 
Method Summary
 
Methods inherited from class net.minecraftforge.event.Event
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

public final DamageSource source

ammount

public final int ammount
Constructor Detail

LivingAttackEvent

public LivingAttackEvent(EntityLiving entity,
                         DamageSource source,
                         int ammount)