[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 19:21, 21. Jan 2021
Joined Aug 2018
User 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
User 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 ?