Started by
Przemek32767
on
Topic category: User side tutorials
MCreator 2020.5 added the ability to create custom death messages by using the new “deal custom damage” procedure block. However, it's not exactly straightforward, but it's not hard either. Here's how to do it:
- Create the “deal custom damage” procedure block (use the search box to quickly find it). Note the “localized as death.attack.” parameter. Set the string to anything you want.
- In the “Localization” tab, click the “Add localization entry” button.
- Name the key “death.attack.x” where “x” is the string you set in the “deal custom damage” procedure block – for example, if your string is “disintegration”, type “death.attack.disintegration”.
- Set the newly created localization text to your death message. Type “%1$s” where the player's name is supposed to be. For example, “%1$s was disintegrated” will result in “<player name> was disintegrated”.
And that's it. Enjoy creating your mod!
how do i make custom sounds for the death message?
For some reason the %1$s part just doesnt work for me, it just type in the death message %1$s and not the player name
Can the damage from this procedure block be weakened by armor (like generic damage)? If it can be, then how to prevent this?
I Did Everything Right, Two of them work, but one of them is death.attack.execute.player for some reason
UPDATE: So Apparently hitting an Entity and Dealing Custom Damage does not work for Custom Damage
this block dont appears or me