There's no tick update event, what contains "guiinventory" depency.

Started by YoshiDBM on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There's no tick update event, what contains "guiinventory" depency.

When I started to code the procedure to a block with gui with "player tick update", it wrote that that's not containing the "guiinventory". So, I had to change it to "no additional trigger", and of course, the block hasn't worked... :(

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to trigger the…
Fri, 06/19/2020 - 11:45

You need to trigger the procedure with a trigger that has the dependency guiinventory.

In other words, trigger it from within the GUI itself, like a button trigger, or a slot transfer trigger.

 

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you could set it to…
Fri, 06/19/2020 - 11:47

If you could set it to player tick, it wouldn’t only check for your GUI, it would check for ALL GUIs, like chests and crafting tables.