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

Started by MahyAss on

Topic category: Help with Minecraft modding (Java Edition)

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

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

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?