Topic category: User side tutorials
I was having issues making this block here and got support over there, thank you to the user that helped.
I made a block that acts as a replacement to the redstone contraption "T Flip Flop" that is common to use in redstone engineering, but i just couldnt grasp how it works.
To start, you make a block, and in block states, make a logic state. I called mine "toggle". In triggers, create a trigger for "redstone on" and make this procedure:
Then, save the block keeping it open, and duplicate it. This will be its "On state". Go back to triggers of the original and make a trigger for "redstone off", making this procedure, making the block it places your duplicated block:
Save the block, then duplicate the procedure for "redstone off". Editing the "On state" block, set the "custom drop" element under properties to your original block, then add the duplicated procedure to the "redstone off" trigger. Replace the block input to the original block, and youre done!
If you have any questions, let me know!