Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Originsplus:modify_behaviour ignores conditions. #12

Open
Neopolisan opened this issue Jul 17, 2021 · 0 comments
Open

Originsplus:modify_behaviour ignores conditions. #12

Neopolisan opened this issue Jul 17, 2021 · 0 comments

Comments

@Neopolisan
Copy link

I was creating an add-on using this mod but it seems that modify_behaviour ignores conditions. Could this be fixed?

This is the code I tried to use. It's a valid JSON and works with other power types.
{
"name": "Hidden",
"description": "When sneaking you are undetectable for hostile mobs until you attack them.",
"conditions": [{
"type": "origins:sneaking",
"inverted": false
},
{
"type": "origins:daytime",
"inverted": true
}
],
"type": "originsplus:modify_behavior",
"behavior": "neutral",
"entities": [
"minecraft:zombie",
"minecraft:zombie_villager",
"minecraft:creeper",
"minecraft:spider",
"minecraft:cave_spider",
"minecraft:skeleton",
"minecraft:blaze",
"minecraft:husk",
"minecraft:stray",
"minecraft:wither_skeleton"
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant