Started by
TeaKuiperz
on
Topic category: Help with Minecraft modding (Java Edition)
As I explained in the title I'm trying to make that when we click on air with the right button it opens a Gui but I'm having problems doing it, i don't understand how I can complete the dependency
https://imgur.com/a/5G4Dv43
Edited by TeaKuiperz on Thu, 12/09/2021 - 17:50
Here you go: Go to item then create a procedur called When right clickt on air
I think I had already done that
https://imgur.com/a/Ub5NFA2
Hi, TeaKuiperz!
I guess, your problem is that in your procedure „Open GUI for…“ is the part „Source Entity“ wrong. You should actually change that to „Event/Target Entity“ so that GUI would open for the player that holds the item, to which this procedure is actually attached.
Simply put: Change „Source Entity“ to „Event/Target Entity“.
Hope that helps!
Thank you it works!
You are welcome!