Contents
Class KillFeedEvent.Display
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.Display
- All Implemented Interfaces:
ICancellableEcsEvent
- Enclosing class:
KillFeedEvent
A kill feed event that can be used to cancel or modify the display of the kill feed entry.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CancellableEcsEvent
isCancelled, setCancelled
-
Constructor Details
-
Display
public Display(@Nonnull Damage damage, @Nullable String icon, @Nonnull List<PlayerRef> broadcastTargets) Default Constructor for aKillFeedEventinstance.- Parameters:
damage- The damage instance associated with the kill event.icon- The icon representing the kill method or weapon used.broadcastTargets- A list ofPlayerRefinstances to whom the kill feed event should be broadcasted.
-
-
Method Details
-
getBroadcastTargets
-
getDamage
-
getIcon
- Returns:
- the icon representing the kill method or weapon used.
-
setIcon
Called to set the icon representing the kill method or weapon used.- Parameters:
icon- The icon representing the kill method or weapon used.
-