Modryos.

Damage type editor

A way of getting hurt, with its own message.

How to add it#

  • New thing > Logic and code > Damage type

What you can set#

SettingWhat it does
NameA name for you. Players read the death messages, not this.
Game nameThe damage type's name in the game, as a command, a data pack or another mod names it.
Death messageWhat the chat says when it kills a player on its own. (player) is the player's name.
Killed by someoneWhat the chat says when someone dealt it. (attacker) is who dealt it.
Killed with an itemWhat the chat says when the one who dealt it held an item with a name of its own. (item) is that name.
Harder on hardWhether it hurts more on Hard and less on Easy, as a zombie's bite does. Choose one of: Never, When a mob deals it, Always.
Hunger it costsHow much hunger a hit takes from a player, as swimming or sprinting does. Most hits take 0.1. From 0 to 10.
How it soundsThe game's own hurt sound the victim makes: an ordinary hurt, thorns, drowning, burning, a sweet berry's poke or freezing. Choose one of: Hurt, Thorns, Drowning, Burning, Poking, Freezing.
Also playsAny sound, one of the game's or of your own, played where it lands when a rule deals it.
Goes through armourArmour does not soften it, as starving and falling into the void are not.
Goes past a shieldA raised shield does not stop it.
Goes past ProtectionProtection and the other enchantments that soften a hit do not soften this one.
Goes past ResistanceThe Resistance effect does not soften it.
Is fireFire Resistance stops it and Fire Protection softens it, and a thing immune to fire is immune to it.
Is a projectileProjectile Protection softens it, as it softens an arrow.
Is an explosionBlast Protection softens it, as it softens a creeper.
Is freezingWhat cannot freeze, a snow golem or a stray, takes none of it.
Is lightningIt turns a pig to a zombified piglin and a villager to a witch, as lightning does.
Is drowningWhat breathes water takes none of it.
Is a fallFeather Falling softens it, and what never takes a fall takes none of it.
No knockbackThe victim is not pushed back when it lands.
Angers no oneA mob hurt by it does not turn on whoever dealt it.

What it becomes in the game#

It is not part of the game itself: it describes another mod or a file, so it has no side to choose.

What it works with#

It points at: Sound.

These point at it: Mob.

Picture#

Damage type editor

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.