Started by
PhysicalNova
on
Topic category: General discussion
Hello ! There's few days, I started modding on Mcreator. I think it's awesome, simple etc. But I went into a problem. I wanted to make a button that would act like a lever ingame, but I can't make it work... I'll thank everybody for any respnse ! (I'm sorry if there are mistakes in the text, please let me know, I'm learning english... Thank you again ! )
Up.
Any help for a switching button ?
So you want it to act like a lever, there will be an on mode and an off mode for the button. This will require 2 identical buttons (you can change them if you want) but the only difference is one will power redstone and one will not. When you right click it should switch between these two blocks.
1. Create 2 blocks which will be your buttons
2. For one of them tick the 'Can provide power' box.
3.Go onto eboth blocks and add an event which 'on block right clicked' remove block. Press add event again for both of them to add a block (make sure you select the rights blocks, it should switch buttons when you right click)
Thank you very much. I tried so many times... Finelly someone that responded. The solution is very simple tho. Thanks again, and have a nice day !
No problem, always there to help :)
Hi again !
There seems to be a problem with the "emit redstone" option, or either I'm very bad... The block that should be the "on" state of the button doesn't emit a redstone signal. But if I do anything with redstone power in the task scheduler (the same place where the block is told to swich itself), it goes with a graddle error. Thank you again for any help :) !
Ill do some testing and see whats causing the problem.
Ok, thank you again :-) !
I done some testing and it seems it didn't go sucessfully. I tried using events to turn on the redstone but I got an error. It seems that it may be the code which causes the error.
So, for now, it isn't possible to make a mod containing redstone right ? I hope it's fixed soon... I'll do a mod concerning something else meanwhile.