Origins (Fabric)

Origins (Fabric)

15M Downloads

Question, need a way to reduce fall damage without disabling it completely

DaytonaBlep opened this issue ยท 3 comments

commented

I have a question regarding creating custom powers. I'm trying to create a power that will reduce fall damage and increase safe fall distance, but I couldn't do any of that, the logs say something like:
Identifier "minecraft:fall_damage_multiplier" was not registered in registry "minecraft:attribute"
In general, I'm not sure if I'm writing this name correctly or if the attribute may not be compatible with the player at all. I doubt it's even possible anymore. Has anyone encountered similar problems, and found a solution? Are there any workarounds?
Also i'm on 1.20.1

commented

You can use the origins:modify_damage_taken power type and use the origins:from_falling damage condition type in its damage_condition field to modify the damage taken from fall damage.

commented

You can use the origins:modify_damage_taken power type and use the origins:from_falling damage condition type in its damage_condition field to modify the damage taken from fall damage.

This is brilliant! I have to try it

commented

Everything said above worked to partially reduce damage taken, but I decided to use "origin:in_tag" and "minecraft:is_fall" as damage condition.