Started by
RedWirePlatinum
on
Topic category: Feature requests and ideas for MCreator
Just wondering, I saw a screenshot of the recent damage source changes where you can add a pink-ish damage source type block.
Topic category: Feature requests and ideas for MCreator
Just wondering, I saw a screenshot of the recent damage source changes where you can add a pink-ish damage source type block.
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.
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
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.
With fire damage wouldn't fire resistant mobs be immune to it
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.
It DOES modify the damage dealt, because unlike "GENERIC" type damage, "MOB_ATTACK" damage takes armor into account
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