Add and don't set an item in an unopened GUI

Started by Varazius on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 19:07, 4. Jul 2022
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add and don't set an item in an unopened GUI

Hello there! I ask you faster if someone knows how to "add" and not "set" an item in an slot of an unopened block inventory, by right clicking on it for example beacause, there is no block permitting this easily ( this is weird cuz an block doing opposite exist), thank you in advance!

Last seen on 19:07, 4. Jul 2022
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay! So! I found how, it…
Thu, 06/09/2022 - 18:42

Okay! So! I found how, it wasn't really so hard, so i'll explain for the ones which want to know how.

 

Block for giving in a slot with more than one, with "set X "item" in slot X of the currently open guy of "Event Target Entity" "

Working block :

"set "Get Number of items from slot X of the currently open GUI of "Event Target Entity + X "item" in slot X of the currently opened GUI of "Event Target Entity" "

 

X = Numbers
Item = Item you wants to add in the X slot

 

It also work with exterior blocks, by right clicking on it for example. 

 

Thank you!