Problem with GUI on invalid screen

Started by divergent43 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problem with GUI on invalid screen

I try to open GUI when i right click with an item, in singleplayer, it's OK, but in test on multiplayer, Gui doesn't open.

MCreator version EAP20211b to minecraft 1.16.4

Follow 2 image with item trigger and procedure to open GUI

im2 im1

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
error on link image
Wed, 03/17/2021 - 11:06

error on link image

im1

im2

Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In your procedure you are…
Wed, 03/17/2021 - 11:10

In your procedure you are checking if "is world remote"

But you need to check if not "is world remote"

 

 

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When i try to check if not …
Wed, 03/17/2021 - 11:19

When i try to check if not "world remote", console log me with "invalid screen", if i check if "remote world", it do nothing.

I put a log in the if block, it execute in both case, but doesn't show GUI at all.