Package me.hackware.api.event.impl
Class EntityAttackEvent
java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.EntityAttackEvent
Fired when the local player attacks an entity.
Cancel to prevent the attack.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.hackware.api.event.Event
cancel, isCancelled
-
Constructor Details
-
EntityAttackEvent
public EntityAttackEvent(net.minecraft.world.entity.Entity entity)
-
-
Method Details
-
getEntity
public net.minecraft.world.entity.Entity getEntity()
-