[TUTORIAL] Custom death messages in MCreator 2020.5

Started by Przemek32767 on

Topic category: User side tutorials

Last seen on 11:20, 3. Sep 2022
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Custom death messages in MCreator 2020.5

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 18:56, 30. Dec 2023
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i make custom sounds…
Sun, 05/07/2023 - 23:30

how do i make custom sounds for the death message?

Last seen on 18:53, 13. Jun 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For some reason the %1$s…
Tue, 06/13/2023 - 09:02

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

Last seen on 10:19, 31. Oct 2023
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can the damage from this…
Sat, 09/16/2023 - 14:41

Can the damage from this procedure block be weakened by armor (like generic damage)? If it can be, then how to prevent this?

Last seen on 22:10, 29. Mar 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I Did Everything Right, Two…
Sun, 12/17/2023 - 07:28

I Did Everything Right, Two of them work, but one of them is death.attack.execute.player for some reason

Last seen on 22:10, 29. Mar 2024
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
UPDATE: So Apparently…
Sun, 12/17/2023 - 07:42

UPDATE: So Apparently hitting an Entity and Dealing Custom Damage does not work for Custom Damage