Started by amdre on Sat, 01/21/2023 - 21:25
Topic category: Help with modding (Java Edition)
That should be working in this example https://i.imgur.com/U2c5bvq.png / https://i.imgur.com/rXJPChF.png
The image is not showing up, i already did with some global variables in another procedure and the image appears but blinking(like too much)
Am I missing something ? I read some similar posts here as well but nothing helps
This is how it works.
If you are trying to find an item in the players inventory use the "get a copy of item in slot () of event/target entity" = "Item", slot 0 will always be the furthest left on the hotbar. It didnt like me putting the links to the screenshots so you will have to manually paste them if the images below do not show.
What I actually want is get the item in the slot 0 from the GUI that I just open. You code looks like from the hotbar. About my condition I already tested it in a player tick update sending me a log and it works, but for some reason when I called by the display condition nothing happens. And I cannot fit "event target entity" into "
get a copy of item from slot 0 of event target entity if it has inventory"simple doesn't fit.