[TUTORIAL] Custom death messages in MCreator 2020.5

Started by Przemek32767 on Thu, 11/19/2020 - 23:47

Topic category: User side tutorials

Last seen on 20:11, 1. Jul 2022
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Custom death messages in MCreator 2020.5
Thu, 11/19/2020 - 23:47

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:

  1. 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.
  2. In the “Localization” tab, click the “Add localization entry” button.
  3. 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”.
  4. 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!

Last seen on 12:08, 4. Jan 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thank you so much  can you…
Tue, 12/29/2020 - 14:57

thank you so much 

can you tell me pls how to create attack animations ? 

Last seen on 22:41, 29. Dec 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Lol it worked the first time…
Wed, 01/27/2021 - 20:42

Lol it worked the first time but the second time I do it, it dont work

Last seen on 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is there a way to test death…
Tue, 03/16/2021 - 16:56

Is there a way to test death messages?

Last seen on 19:49, 3. Nov 2021
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You test them by damaging…
Tue, 03/16/2021 - 17:46

You test them by damaging yourself with the custom damage. Dealing 20 damage means you will die and you will see if the message works as intended.

Last seen on 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Of course, thanks
Tue, 03/16/2021 - 17:47

Of course, thanks

Last seen on 08:11, 13. Apr 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You can use obfuscate
Thu, 03/25/2021 - 21:51

You can use obfuscate

Last seen on 21:29, 25. Jun 2022
Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How would I link the message…
Wed, 04/28/2021 - 14:36

How would I link the message up to an entity's base attack?

Last seen on 09:45, 3. Jan 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks, i felt like: if…
Wed, 04/28/2021 - 15:22

Thanks, i felt like: if there is an option to make custom damage with death.attack...it should be continued by a localized death message, but it didn't show up in localization tab. Thanks to you I noticed "add localization entry" button. Seems, now I can even localize messages, that will show up in chat not related to death.

Last seen on 07:48, 23. Jun 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
hat about named entity…
Sun, 06/27/2021 - 15:38

hat about named entity killed by player death message?