#Location Changed Enchantment Effect is not checking minecraft:entity_properties?

1 messages · Page 1 of 1 (latest)

proper thornBOT
hardy nexus
#
{
    "description": {
        "translate": "aspect.dormant",
        "extra": [
            ": ",
            {
                "translate": "Aspect: Merling",
                "color": "#2e89f1",
                "shadow_color": -16047556
            }
        ]
    },
    "supported_items": "minecraft:poisonous_potato",
    "weight": 1,
    "max_level": 1,
    "min_cost": {
        "base": 0,
        "per_level_above_first": 0
    },
    "max_cost": {
        "base": 0,
        "per_level_above_first": 0
    },
    "anvil_cost": 0,
    "slots": [
        "feet"
    ],
    "effects": {
        "minecraft:location_changed": [
            {
                "requirements": {
                    "condition": "minecraft:all_of",
                    "terms": [
                        {
                            "condition": "minecraft:location_check",
                            "predicate": {
                                "fluid": {
                                    "fluids": "#minecraft:water"
                                }
                            }
                        },
                        {
                            "condition": "minecraft:entity_properties",
                            "entity": "this",
                            "predicate": {
                                "entity_type": "minecraft:blaze"
                            }
                        }
                    ]
                },
                "effect": {
                    "type": "minecraft:attribute",
                    "attribute": "minecraft:movement_speed",
                    "id": "aspects:merling/in_water_movement_speed",
                    "amount": 0.75,
                    "operation": "add_multiplied_base"
                }
            }
        ]
    }
}```

when a player is using this it does give the movement speed in water even tho the player is not in water, Is there something about location_changed where it only checks the location based predicates? But soul_sand does use it?
#

I feel like I am missing something very small but it is driving me crazy

#

Wiki does not tell anything against my use case