Contents
Class KillFeedEvent.KillerMessage
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.component.system.CancellableEcsEvent
com.hypixel.hytale.server.core.modules.entity.damage.event.KillFeedEvent.KillerMessage
- All Implemented Interfaces:
ICancellableEcsEvent
- Enclosing class:
KillFeedEvent
A kill feed event that can be used to populate the killer's message.
-
Constructor Summary
ConstructorsConstructorDescriptionKillerMessage(Damage damage, Ref<EntityStore> targetRef) Default Constructor for aKillFeedEvent.KillerMessageinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetMessage(Message message) Called to set the message to display as the killer.Methods inherited from class CancellableEcsEvent
isCancelled, setCancelled
-
Constructor Details
-
KillerMessage
Default Constructor for aKillFeedEvent.KillerMessageinstance.- Parameters:
damage- The damage instance associated with the event.targetRef- The entity reference of the target entity.
-
-
Method Details
-
getDamage
- Returns:
- the damage instance associated with the event.
-
getTargetRef
- Returns:
- the entity reference of the target entity.
-
setMessage
Called to set the message to display as the killer.- Parameters:
message- The message to display as the killer.
-
getMessage
- Returns:
- the message to display as the killer.
-