GUI on block with redstone connection?

Started by PonyVicE on

Topic category: Help with modding (Java Edition)

Last seen on 15:09, 21. Oct 2023
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...

Last seen on 02:02, 26. Apr 2024
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
}