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

Started by maxmiller on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 months ago
Joined Mar 2025
Points:
29

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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. .

Active 1 month ago
Joined Apr 2025
Points:
189

User statistics:

  • Modifications: 4
  • Forum topics: 17
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 86
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.