GUI on block with redstone connection?

Started by PonyVicE on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
GUI on block with redstone connection?

How to make GUI on block that will open when block has redstone connection?

I tried to create procedure, but I do not know how to check for a redstone connection at a block. I tried to do it through if / do "get for indirect power of block", but this does not work...

Joined Apr 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
on trigger Redstone ON set…
Thu, 01/30/2020 - 00:23

on trigger Redstone ON set NBT tag "tagname" to true and on Redstone OFF set it to false
than on right click

If NBT tag = True {
   Open Custom GUI
}