How can i set custom death message? (using event.deathMessage())
Y yap241986 New member May 20, 2023 7 0 1 May 20, 2023 #1 How can i set custom death message? (using event.deathMessage()) Last edited: May 20, 2023
S stefvanschie Moderator Staff member Dec 17, 2021 122 7 21 18 May 21, 2023 #2 You can provide a component that should become the new death message as an argument to that method to change the death message.
You can provide a component that should become the new death message as an argument to that method to change the death message.
S stefvanschie Moderator Staff member Dec 17, 2021 122 7 21 18 May 23, 2023 #4 Java: event.deathMessage(Component.text("Someone died...", NamedTextColor.RED));