Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("button")
- m = peripheral.wrap("right")
- m.clear()
- function fillTable()
- button.setTable("Wither", wither, 6,12,3,5)
- button.screen()
- end
- function getClick()
- event,side,x,y = os.pullEvent("monitor_touch")
- button.checkxy(x, y)
- end
- function wither()
- button.toggleButton("Wither")
- rs.setAnalogOutput("left", 2)
- end
- fillTable()
- button.heading("Mob Farms")
- while true do
- getClick()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement