java.lang.Object
org.cloudburstmc.api.event.Event
org.cloudburstmc.api.event.entity.EntityEvent
org.cloudburstmc.api.event.entity.EntityRegainHealthEvent
- All Implemented Interfaces:
Cancellable
author: MagicDroidX
Nukkit Project
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class org.cloudburstmc.api.event.entity.EntityEvent
entity -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.cloudburstmc.api.event.entity.EntityEvent
getEntityMethods inherited from class org.cloudburstmc.api.event.Event
isCancelled, setCancelled, setCancelledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cloudburstmc.api.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Field Details
-
CAUSE_REGEN
public static final int CAUSE_REGEN- See Also:
-
CAUSE_EATING
public static final int CAUSE_EATING- See Also:
-
CAUSE_MAGIC
public static final int CAUSE_MAGIC- See Also:
-
CAUSE_CUSTOM
public static final int CAUSE_CUSTOM- See Also:
-
-
Constructor Details
-
EntityRegainHealthEvent
-
-
Method Details
-
getAmount
public float getAmount() -
setAmount
public void setAmount(float amount) -
getRegainReason
public int getRegainReason()
-