Data Packs Game Mechanic

Blocks do damages

  • 8k views • 6 today
  • save_alt 857 downloads • 1 today
Compatibility
Minecraft 1.19
to version
Minecraft 26.3 snapshot
Changes include
  • Functions
  • Predicates
  • 46
  • 34
  • 11
Required Resource Pack
Loupieur
Lvl 57 • Grandmaster Wolf Nerd
64
Blocks do damages Minecraft Data Pack
Datapack
1.19.4+

Blocks do damages
is a Datapack for the version 1.20.2+ of Minecraft (if you use it below the version 1.19.4, it don't works because the Datapack uses the "damage" command) that allows any mob or player to take damages when walks or enters in certain blocks.

(Older version : 1.19.4-1.20.1)


📋 Damaging Blocks and damages list
Block
Stonecutter
Rose Bush
Any Fire Torch
Any Spike
Any Candle
Damages number
6.8
0.6
0.8
1.3
0.15 (per Candle)

🩸 Damages information

Iron Golems takes ~70% less damage from the Stonecutter, the Rose Bush and Any Spike.
Only mobs and players (not items, or any other entities) can take some damages by these blocks.

⚙️ Configs

You can use the command /function blocks_do_damages:configs to config the Datapack to chose which blocks can do damages or not. By default, all blocks can do damages.


If you want to have the custom death messages you have to use the required Texture Pack.

11 Update Logs

Update #11 : by Loupieur 11/15/2026 6:50:59 amNovember 15 @ 11:50 am UTC

Updated Datapack :

  • Updated for 26.4

Added block damage :

  • Icicles can damage as the other Spikes (Pointed Dripstone and Sulfur Spike)

Pathfinding :

  • Changed pathfinding for the damageable blocks only for 26.4 (mobs will prevent from going near these blocks, even their damaging are disabled in configs)

Death messages change :

  • The death message of the Rose Bush is now "... tried to hug the thorns of a Rose Bush" instead of "... stung to death by a Rose Bush"
  • The death message of the Pointed Dripstone (now for Any Apike) is now "... was impaled by a spike" instead of "... was impaled into a Pointed Dripstone"
  • The death message of the Stonecutter is now "... had a workspace accident with a Stonecutter" instead of "was cut by a Stonecutter"
LOAD MORE LOGS

More like this

  Have something to say?

ZacPlayzCraft
• 07/05/2024 2:10 pm
• Level 17 : Journeyman Artist
Ok
2
User4805795G
• 10/22/2023 1:25 pm
• Level 1 : New Miner
Hi, all my villagers died because of torches, is it possible to prevent this from happening again? (except removing toches)
Thanks
2
Loupieur
• 02/03/2024 4:42 pm
He/Him • Level 57 : Grandmaster Wolf Nerd
You can use other light blocks, or you can move your torchs, or you can deactivate the damages of torches with the config command : function blocks_do_damages:configs
1
HyperOctal
• 04/21/2023 11:50 am
She/Her • Level 45 : Master Magical Girl uwu
Ouch.
3
xJohnx117
• 04/17/2023 7:21 pm
• Level 2 : Apprentice Crafter
history
Could you possibly change the messages?

Player got sliced by a Stonecutter

Player touched too many rose thorns

Player went up in flames

Player sunk into a dripstone spike.

And the description too.

This datapack makes more blocks harmful, with custom death messages!

Times Edited: 2
2
xJohnx117
• 04/20/2023 1:20 pm
• Level 2 : Apprentice Crafter
Well torches have really small fires, and their technically sticks with fires on top.

The others, I thought they were a bit too long, so I decided to shorten them with a little bit of comedy.
1
Loupieur
• 04/17/2023 10:45 pm
He/Him • Level 57 : Grandmaster Wolf Nerd
for the torch I used a minecraft damage, the same like the fire and the camfire... And why you want to change others messages of death ?
1
Ferralis
• 04/18/2023 1:27 am
• Level 10 : Journeyman Skinner
Improper grammar.
2
xJohnx117
• 04/20/2023 1:22 pm
• Level 2 : Apprentice Crafter
history
What's wrong with the grammar???

Ok, now I see it on the description.
1
Loupieur
• 02/26/2024 4:11 pm
He/Him • Level 57 : Grandmaster Wolf Nerd
What are you talking about ???
1

Welcome