Add an item to a slot when the GUI is not open

Started by MahyAss on

Topic category: Help with modding (Java Edition)

Last seen on 19:07, 23. Dec 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add an item to a slot when the GUI is not open

I would like to make that if an entity collides with the block, it adds an item in a slot when the GUI is not open but the problem is that I should not use itemstack. How can I solve the problem ?

Procedure

Last seen on 19:07, 23. Dec 2022
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found the correct block
Sat, 04/23/2022 - 19:03

I found the correct block

Last seen on 11:05, 18. Apr 2024
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dude, what is this block?
Mon, 05/08/2023 - 16:39

Dude, what is this block?