Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- w = peripheral.wrap("left")
- local function forward(x)
- for i = 1, x do
- turtle.forward()
- end
- end
- local function up(x)
- for i = 1, x do
- turtle.up()
- end
- end
- right = turtle.turnRight()
- left = turtle.turnLeft()
- local function buildWither()
- up(4)
- forward(2)
- turtle.select(1)
- turtle.place()
- right
- forward(1)
- left
- turtle.place()
- right
- forward(1)
- left
- turtle.place()
- turtle.down()
- turtle.select(2)
- turtle.place
- left
- forward(1)
- right
- turtle.place()
- left
- forward(1)
- right
- turtle.place()
- turtle.down()
- right
- forward(1)
- turtle.place
- rednet.broadcast("oneWitherBuilt")
- end
- -- put stuff here to make him wait for the nether star
- while true do
- local event id, msg = rednet.receive()
- if msg == "blastProtOn" then
- buildWither()
- end
- break
- end
- -- and put what he does with the nether star here
Advertisement
Add Comment
Please, Sign In to add comment