How would I make a button that changes when i press it?

Started by maxmiller on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make a button that changes when i press it?

Im making a oil processor that takes refined oil and turns it into another material (ex. Rubber) and I want it so that when I click the button it changes through different materials how would I do that? this is what im working with. .

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, I am new, but I think…
Sun, 04/13/2025 - 17:09

Well, I am new, but I think what you might do is have the procedure "When redstone on" and then do Block Procedures>Actions>replace block at XYZ with [block]. So you have one block for each item, and you just cycle though the blocks themselves. AKA Block A, redstone on=turn to block B, redstone on= block C, redstone on= turn back to block A. So A makes rubber, B makes something else, and etc.