KillFeedEvent.Display
Package: com.hypixel.hytale.server.core.modules.entity.damage.event
public static final class KillFeedEvent.Display extends CancellableEcsEventA cancellable ECS event dispatched on the dying entity as the final step of kill feed generation. Controls which players receive the kill feed message and what icon is displayed. If cancelled, no packets are sent.
Constructor
Section titled “Constructor”public Display(@Nonnull Damage damage, @Nullable String icon, @Nonnull List<PlayerRef> broadcastTargets)Creates the display event with the killing damage, an optional death icon, and the list of players to broadcast to.
Methods
Section titled “Methods”@Nonnullpublic List<PlayerRef> getBroadcastTargets()Returns the mutable list of players who will receive the kill feed message.
@Nonnullpublic Damage getDamage()Returns the Damage event that caused the kill.
@Nullablepublic String getIcon()Returns the kill feed icon identifier, or null.
public void setIcon(@Nullable String icon)Sets the kill feed icon identifier.
Related Types
Section titled “Related Types”- KillFeedEvent — parent class
- DeathSystems.KillFeed — dispatches this event
- Damage — reads
DEATH_ICONmeta key for the default icon
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.