Started by
Gavirium
on
Topic category: Help with Minecraft modding (Java Edition)
Hello. I've tried to figure out how to get the "allow ... to fly if ... otherwise don't" to work, both when you equip, but also unequip an item.
But when I try to save the procedure I've made, it won't compile correctly, when I both have an equip and unequip action (only the equip action works)..
I'm using Nerdy's curios plugin, so i guess it might be a problem with that. But I thought it wouldn't hurt to ask if anybody had run into a similar problem.
I've posted a picture of my procedure. If someone could take a look, it would be greatly appreciated!
Thanks in advance :^)
Edited by Gavirium on Sat, 05/13/2023 - 09:14
If you press "Generated code viewer", what does it show you?
Use
Allow [Event Target/Entity] to fly if [Does Player have bauble equipped] otherwise don't
Also this might not work, but maybe try adding a = true around the [Does player have bauble equipped]
Spy