Started by
Freddyfozbear7800
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make it so when you hold an item you are given the ability to fly but when not in hand or dropped you lose that ability I've managed to give the ability but it won't remove the ability after being dropped or not held
here's the link for the picture
add "Else" and Do "Allow entity/target to fly if" and add false and it well be fix i tested it
Here I Made You an exmple Image Lin:https://ibb.co/TKWJMWQ
sorry i am stupid This is The Code:https://ibb.co/fkYPcxq
The Other code work on 1.12.2 but 1.19.2 it do not so here is a replacement
the only thing is that when its not in the hand slot it still gives me the ability to fly even if I drop it
*wait nevermind it works when it's not in hand but if you drop it you can fly infinitely