1

Command doesn't work

baff_bebra6/23/25 5:01 am history
6/23/2025 11:22 pm
HoboMaggot
Can you tell me why the command with the predicate in the datapack doesn't work? If you write this command separately in the world, it works, but it doesn't work through the datapack. The command should deal damage if the player is in hell without fire resistance.


execute as @a if predicate dvt:fire_resistance_yes run damage @s 0.01 minecraft:lava
{ "condition": "minecraft:all_of", "terms": [ { "condition": "minecraft:location_check", "predicate": { "dimension": "minecraft:the_nether" } }, { "condition": "minecraft:inverted", "term": { "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "effects": { "minecraft:fire_resistance": {} } } } } ]}
Posted by
baff_bebra
Level 1 : New Miner
0

Create an account or sign in to comment.

1

HoboMaggot
06/23/2025 11:22 pm
Level 54 : Grandmaster Blob
Is the function calling this command called at all?
Everything here looks correct
1

Welcome