Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("button")
- mon = peripheral.wrap("back")
- m.clear()
- function.filltable()
- button.settable("Cobble-Farm",cobble,10,16,9,13)
- button.settable("Recycler",recycler,23,29,9,13)
- end
- function.getclick()
- event,side,x,x= os.pullEvent("monitor_touch")
- button.checkxy(x ,y)
- end
- function cobble()
- button.togglebutton("Cobble-Farm")
- redstone.setBundledOutput("front",colors.white)
- end
- function recycler()
- button.togglebutton("Recycler")
- redstone.setBundledOutput("front",colors.orange)
- end
Advertisement
Add Comment
Please, Sign In to add comment