Data Packs Weapons and Armor

Shield Blocks Fall Damage

  • Advancements
  • Functions
  • Predicates
  • 1,211 views • 2 today
  • 161 downloads • 0 today
llARKKll
Level 43 : Master Grump Grump
25

Shield Blocks Fall Damage

In this datapack, you can block fall damage by looking downwards and blocking with your shield. This damage blocking can also be customized to block all damage, or some damage.

If you download the bouncy version of this project, you will bounce when you block fall damage with a shield. This download is located on the Modrinth page of this project. Make sure you download the required secondary datapack if you want this (listed in the bouncy version).

Config

Setting Shield Fall Damage Reduction
To change the amount of fall damage blocked, do the following command:
/function shieldfall:config/set_shield_fall_damage {value:<insert damage here>}

Where it says <insert damage here>, enter the multiplier shield blocking should do to fall damage. Here are some example values:
  • 0 is no fall damage
  • 0.5 is half fall damage
  • 1 is full fall damage (no damage reduction)
Warnings:
  • Make sure you do not put the <> symbols in the command.
  • values below 0 and above 1 may change the behavior of the shield fall damage blocking in unexpected ways, do it at your own risk!

Setting Config Back to Defaults
To set the config back to the default values, do the following command:
/function shieldfall:config/set_defaults
CompatibilityMinecraft 1.21
Tags

1 Update Logs

Shield Blocks Fall Damage + Bounce : by llARKKll 11/27/2024 10:23:57 pmNovember 28, 2024 @ 3:23 am UTC

Released the bouncy version of the project.
Curated in their collections

  Have something to say?

Enterprize7
02/03/2025 4:52 am
Level 1 : New Explorer
what if you make it like the mase but weaker so it does not cancel fall damage unless you hit an entity, but it wouldn't do as much damage as a mase
1
waynet
12/20/2024 9:10 am
Level 1 : New Miner
not sure if it's included, but does it also damage the shield? it isn't specified but it'd be really cool and also balancing if the fall damage is then converted to shield damage
2
llARKKll
12/20/2024 6:54 pm
Level 43 : Master Grump Grump
Currently the shield will take 1 durability damage from any fall, but scaling the damage would be cool! Thanks for the idea, I might add this in the future.
1
tollcraft
11/28/2024 6:15 am
He/Him • Level 50 : Grandmaster Steve Demolitionist
Does it work in 1.19.2
1
llARKKll
11/28/2024 6:06 pm
Level 43 : Master Grump Grump
No.
1
Cam Greeny
11/27/2024 7:05 pm
Level 43 : Master Toast
it would be fun if it made you bounce off of the ground like a slime block
3
llARKKll
11/27/2024 10:25 pm
Level 43 : Master Grump Grump
I made a bouncing version of the project like you said! Its located on the Modrinth page of the project, because I did not want the main project download require a datapack api.
1
anonpmc5464227
11/27/2024 7:59 pm
Level 1 : New Miner
[deleted]
1
llARKKll
11/27/2024 9:40 pm
Level 43 : Master Grump Grump
How are you planning to do this? The only method I can think of requires a secondary player motion api datapack.
1

Welcome