Custom block gui

Started by Purple1988 on Fri, 06/25/2021 - 00:59

Topic category: Help with modding (Java Edition)

Last seen on 21:29, 1. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom block gui
Fri, 06/25/2021 - 00:59

I am making a mod that lets you trade useless stuff like seeds and flowers for emeralds, but i can't figure out how to make a GUI open when a block is right-clicked.  

I am also having i problem, how can I make recipes with a custom GUI?

Last seen on 01:48, 23. Aug 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
A GUI can be opened if you…
Sun, 07/04/2021 - 06:08

A GUI can be opened if you use the "Open GUI[GUI name] for [Player]" block. Then put a global trigger sensing when a block is right clicked by a player, and an if statement checking if the block at [x][y][z] is equal to the right block.