[Solved] Custom GUI Button not targeting Items in specified Slot

Started by flemminem on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Solved] Custom GUI Button not targeting Items in specified Slot
Sat, 08/29/2026 - 06:54 (edited)

I tried to make a GUI where i can enchant the Item in Slot 0.

After some troubleshooting i figured out that the procedure "get item copy from slot [] of open custom GUI of [Entity]" doesnt actually target the item in the specified Slot.

 

Is there a different procedure that i can use or am i doing something wrong?

 

When i push the button with the Procedure shown in the picture it only places an iron sword in Slot 0 but does not enchant it after. 

 

 

 

Edited by flemminem on Sat, 08/29/2026 - 06:54
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok Saving the Item in Slot 0…
Sat, 08/29/2026 - 06:54

Ok Saving the Item in Slot 0 to a local Itemstack variable inside the GUI and enchanting that worked for me.