[TUTORIAL] Custom death messages in MCreator 2020.5

Started by Przemek32767 on

Topic category: User side tutorials

Active 1 year ago
Joined Aug 2018
Points:
685

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
[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!

Active 5 months ago
Joined Dec 2021
Points:
517

User statistics:

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

how do i make custom sounds for the death message?

Active 2 years ago
Joined Jun 2023
Points:
234

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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

Active 1 month ago
Joined Jun 2021
Points:
644

User statistics:

  • Modifications: 2
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 34
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?

Active 3 months ago
Joined Oct 2021
Points:
537

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 15
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

Active 3 months ago
Joined Oct 2021
Points:
537

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 15
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

Active 1 week ago
Joined Jul 2024
Points:
272

User statistics:

  • Modifications: 0
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 124
this block dont appears or me
Sat, 07/13/2024 - 00:16

this block dont appears or me