Problem with GUI on invalid screen

Started by divergent43 on Wed, 03/17/2021 - 11:05

Topic category: Help with modding (Java Edition)

Last seen on 13:17, 11. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Problem with GUI on invalid screen
Wed, 03/17/2021 - 11:05

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

Last seen on 13:17, 11. Apr 2021
Joined Mar 2021
Points:

User statistics:

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

error on link image

im1

im2

Last seen on 07:55, 19. May 2022
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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"

 

 

Last seen on 13:17, 11. Apr 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.