Origins (Fabric)

Origins (Fabric)

15M Downloads

[bug] "moving" entity condition doesn't target entities properly

Jmavd opened this issue ยท 0 comments

commented

I've been working a a custom power that causes any entity that is currently in motion to glow. I am on the latest release of the mod, and pehkui is not installed.

The "origins:moving" entity condition only works when it is directly applied as the condition of a power, such as:

{
    "type": "origins:burn",
    "interval": 20,
    "burn_duration": 1,
    "condition": {
	"type": "origins:moving"
    }
}

but does not work when used to select the target of a power, as in:

{
    "type": "origins:entity_glow",
    "entity_condition": {
	"type": "origins:moving"
    }
}

I have tested this with other players, even limiting it to selecting only players using "entity_type": "minecraft:player", both to no improvement. This appears to be an issue with the "moving" condition itself and not the power "entity_glow," as I've also tested this with the "prevent_entity_render" power. The issue is also (likely) not with my lackluster JSON skills, as the power still appears valid on the origin selection screen, removing the entity_condition reenables the glowing effect, and these are very simple JSON files.