i am trying to make a gui

Started by Robertm5402 on

Topic category: Help with modding (Java Edition)

Last seen on 23:31, 20. Nov 2023
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i am trying to make a gui

I am trying to make a GUI that upgrades enchanted books and the code of the upgrade button is missing dependency I don't know what it means here's a picture of my code

 

 

https://sites.google.com/view/mcreatorimage/home

Last seen on 18:01, 13. Jun 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Missing a dependency means…
Fri, 10/13/2023 - 16:32

Missing a dependency means that the trigger that is running your procedure doesn't provide all the information your procedure needs. Your procedure needs to be provided with an entity and an itemstack in order to work properly. My guess is that, if you're running this through GUI, you aren't actually providing an itemstack. Try replacing 'provided itemstack' with 'itemstack from (slot) of currently open GUI.'