Will damage source also be specified when using the custom death message procedure block?

Started by RedWirePlatinum on

Topic category: Feature requests and ideas for MCreator

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Will damage source also be specified when using the custom death message procedure block?

Just wondering, I saw a screenshot of the recent damage source changes where you can add a pink-ish damage source type block.

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, because the whole point…
Thu, 08/31/2023 - 13:32

No, because the whole point of existence of damage sources is to define the death message (for example FIRE damage source will say in chat "<insert entity> burned". Because the custom death message procedure block allows... well to make custom death message, it doesn't need a damage source.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It does though, if you check…
Thu, 08/31/2023 - 19:21

It does though, if you check any procedure code with a localized death message they will all have "DamageTypes.GENERIC" by default, all you can do is simply change it to any other kind of damage source and bam - you did it

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, and what would be the…
Thu, 08/31/2023 - 20:33

Ok, and what would be the point of changing the DamageType? Does it modify the death message? No because that's the point of the procedure block. Does it modify the damage dealt? No.

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
With fire damage wouldn't…
Thu, 08/31/2023 - 23:18

With fire damage wouldn't fire resistant mobs be immune to it

 

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No it won't, you're dealing…
Fri, 09/01/2023 - 17:18

No it won't, you're dealing damages, it doesn't care if mobs are immune to the type. You can try with regular "deal damage" procedure blocks if you want to make sure of it.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It DOES modify the damage…
Fri, 09/01/2023 - 17:58

It DOES modify the damage dealt, because unlike "GENERIC" type damage, "MOB_ATTACK" damage takes armor into account

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it IS still possible to have…
Fri, 09/01/2023 - 19:47

it IS still possible to have a custom damage source and custom death message at the same time, all you need to do is use a custom code snippet and edit the code of the procedure block