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

Scoreboard and command conditions are completely non-functional. #644

Open
X66Herobrine66X opened this issue Mar 28, 2023 · 0 comments
Open

Comments

@X66Herobrine66X
Copy link

So I've tried creating two powers, as shown below.
{ "type": "origins:invisibility", "name": "Invisibility", "render_armor": false, "condition": { "type": "origins:and", "conditions": [ { "type": "origins:scoreboard", "objective": "godly_power", "comparison": ">=", "compare_to": 288000 }, { "type": "origins:command", "command": "execute if entity @s[tag=invisibility]", "comparison": "==", "compare_to": 1 } ] } }
{ "type": "origins:self_glow", "hidden": true, "bientity_condition": { "type": "origins:can_see" }, "use_teams": true, "red": 1.0, "green": 1.0, "blue": 1.0, "condition": { "type": "origins:scoreboard", "objective": "godly_power", "comparison": ">=", "compare_to": 18432000 } }
I have ensured that I meet the correct scoreboard requirement and that I have the correct tag, and neither work.
image
2023-03-27_20 30 01
Latest.log https://pastebin.com/c4Cr223d
The glow power works as soon as I remove the scoreboard condition and reload:
{ "type": "origins:self_glow", "hidden": true, "bientity_condition": { "type": "origins:can_see" }, "use_teams": true, "red": 1.0, "green": 1.0, "blue": 1.0 }
2023-03-27_20 31 48
Same with invisibility:
{ "type": "origins:invisibility", "name": "Invisibility", "render_armor": false }
2023-03-27_20 32 56

Minecraft version: 1.19.2
Fabric version: 0.14.18
Origins version: 1.7.1
Fabric API version: 0.60.0

I am not running any other mods.

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