McJtyMods / FxControl

Control Player Effects based on rules
MIT License
2 stars 7 forks source link

How to ban archery? #39

Open keic0n opened 1 year ago

keic0n commented 1 year ago

Here is an example of my code, but it doesn't work the way I want.

[

{ "playerhelditem": {"item":"minecraft:bow"}, "gamestage": "bow", "message": "You still need to unlock this skill!", "result": "deny" }

]

McJty commented 1 year ago

So what do you want? And how does it behave instead? Give more details please.

Also what version?

keic0n commented 1 year ago

https://github.com/McJtyMods/FxControl/assets/138870508/85adace6-9459-42e5-92d3-668822b854bd

I need to block the shot and not use the subject of other blocks. (Ask for more if little of this information) Edit: version:1.19.2Forge