Moth water slowness protection
JustEhra opened this issue ยท 1 comments
Minecraft Version
1.19.2
Mod Version
grounded_origins-fabric-1.19.2-1.2.3
Mod loader
Fabric
Describe your issue
Moth are currently slowed by water even with a origins:water_protection 4 or more enchant.
Here is the current power :
, "swimspeed_slowdown": { "type": "origins:attribute", "modifier": { "attribute": "additionalentityattributes:water_speed", "value": -0.5, "operation": "multiply_total" } }, "condition": { "inverted": true, "type": "origins:enchantment", "enchantment": "origins:water_protection", "calculation": "sum", "comparison": ">=", "compare_to": 4 } }
The condition doesn't apply and you can use "conditioned_attribute"
Here is a potential fix:
, "swimspeed_slowdown": { "type": "origins:conditioned_attribute", "modifier": { "attribute": "additionalentityattributes:water_speed", "value": -0.5, "operation": "multiply_total" }, "condition": { "inverted": true, "type": "origins:enchantment", "enchantment": "origins:water_protection", "calculation": "sum", "comparison": ">=", "compare_to": 4 } }
Crash report/logs
No response