Any way to open enderchest GUI with item right click?

Started by doomsday_fire on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Any way to open enderchest GUI with item right click?
Wed, 02/22/2023 - 11:29 (edited)

Hi everyone,
I created an item like 'portable enderchest' which should open existing enderchest GUI (Not creating new one)
Tried to use Miscellaneous plugin to use 'Open enderchest for Event/target entity', but doesn't works anymore on new versions (mine is 2022.3)
Procedure WARNING: Block entity_player_open_enderchest is not supported by the selected generator. It will be skipped.
Seems like it might work different way in newer versions
Mod is on forge_1.19.2
How can I make this procedure? Even with custom code

Edited by doomsday_fire on Wed, 02/22/2023 - 11:29
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It has a high chance that…
Thu, 02/23/2023 - 14:59

It has a high chance that the code of the Plugin you specified is changed but it could be the chance that you only need to add the support for the other generators.

You know that if you make a plugin and add a procedure you create a folder for each generator you want to get support.

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, adding new '1.19.2'…
Thu, 02/23/2023 - 15:55

Well, adding new '1.19.2' folder in applicable versions list helped to solve procedure warning
But function 'open enderchest' still doesn't work (a lot of errors in console). Seems like code changed in newer versions (last plugin usable generator is 1.15.2).
The way to 'fix' plugins ll be helpful in future, thank you.
Do you have any other ideas to do so?

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could search for the…
Thu, 02/23/2023 - 17:14

You could search for the code to open the GUI of the Enderchest.