How do I create a redstone-power emiting procedure?

Started by S21815 on

Topic category: Help with modding (Java Edition)

Last seen on 10:21, 8. Mar 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I create a redstone-power emiting procedure?

I'm trying to create a block that has 9 item slots and depending on which slot has items a different redstone power level will be emitted. The problem is that for this procedure the return numerical value has to be outside of the conditional block which checks the items, so it's always sending a constant value or crashing when trying to change it. how do I fix this?