Interface IDeathMessage
- All Known Implementing Classes:
DeathMessage, DeathMessageRandom
public interface IDeathMessage
This interface defines a factory for generating death messages.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.ComponentgetMessage(Object... args) Generates the message to display for this death message.net.minecraft.network.chat.ComponentgetSubMessage(String alt, Object... args) Generates a sub-variant of the death message.static Object[]Remaps certain message parameter types into their display friendly counterparts.
-
Method Details
-
getMessage
Generates the message to display for this death message.- Parameters:
args- The message parameters such as victim name and killer name.- Returns:
- The death message to display.
-
getSubMessage
-
remapArgs
-