Data Packs Game Mechanic

Blocks do damages

  • 7.7k views 0 today
  • save_alt 831 downloads
Compatibility
Minecraft 1.19
to version
Minecraft 26.1
Changes include
  • Functions
  • Predicates
Added CreditLoupieur
  • 45
  • 32
  • 11
Required Resource Pack
Loupieur
Lvl 56Grandmaster Wolf Nerd
62
                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
Pointed Dripstone
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 the Pointed Dripstone.
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 what 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.

9 Update Logs

Update #9 : by Loupieur 05/18/2026 3:31:30 amMay 18 @ 7:31 am UTC

Updated Datapack :

  • Now works in 26.2.x
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 56 : 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 56 : 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 56 : Grandmaster Wolf Nerd
What are you talking about ???
1

Welcome