Started by
PecsiModsDevv
on
Topic category: Help with Minecraft modding (Java Edition)
Add a function in "key binding" by holding down the key, not just by pressing it and then releasing it, I want to do this so that when I am on my entity, which is a horse, when I hold the key, it starts to levitate, PLEASE HELP ME Nobody answers me, if you send a photo of the procedure I would appreciate it.
This can be accomplished by adding levitation when "pressing the key" and then removing it on "releasing the key"
I tried it but it still doesn't work, in the first procedure I added the levitation potion effect for 20 ticks and in the second procedure, which would be to release the key, I put out the potion effect, but what I don't understand is if this has to be put in the "events" section, if you would be so kind, could you send me a photo?