Started by
awesomecreeck
on
Thu, 02/18/2021 - 10:24
Topic category: Help with modding (Java Edition)
So I'm making a mob called 'Nosed Villager' which has a long nose. I'm trying to implement the feature in which if any mob (including player) attacked the nosed villager, it will kill the attacked mob with a custom death message. How can I do it?
You could make an "When this entity kills another one" procedure and just make it say "Nosed Villager killed %s" (note, i don't know if %s works with the chat procedures or if there's any other things like %s)
%s only works in System.out.printf() i guess. I know java but I'm not sure about it. I need it to show the custom death message on the 'You Died!' screen.