Save item of specific slot in custom gui

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

liencreeperEP

Member
Jan 20, 2019
1
0
0
Is there any method to save item at slot in custom gui?
(Example: Open a gui called "Ritual", place a stone at slot 19.
close the gui, open it again and the stone still on slot 19)
I tried using
{chest::%{_slot}%::%player%} to store
but seems like inventory cannot be saved.
I'm using TuSKe on 1.13.2 Minecraft Version
 
Is there any method to save item at slot in custom gui?
(Example: Open a gui called "Ritual", place a stone at slot 19.
close the gui, open it again and the stone still on slot 19)
I tried using
{chest::%{_slot}%::%player%} to store
but seems like inventory cannot be saved.
I'm using TuSKe on 1.13.2 Minecraft Version
Loop the items and add them to a list. Add a condition to check if the name of the opened invententory is whatever you just wrote and then set the slots to the list variable
 
Status
Not open for further replies.