1
Command doesn't work
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": {} } } } } ]}
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": {} } } } } ]}
Create an account or sign in to comment.
1

Is the function calling this command called at all?
Everything here looks correct
Everything here looks correct