Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Minecraft Wither Boss Grinder
- -- Made possible with MFFS, Redpower 2, and Computercraft.
- -- Video: http://youtu.be/-6iaTAtZGfo
- -- initial code: http://pastebin.com/5WqJTNs3
- --##killing turtle##
- function getFuel()
- if turtle.getFuelLevel()<=10 then
- turtle.select(1)
- turtle.refuel(16)
- end
- end
- function kill()
- sleep(10)
- redstone.setOutput("right",true)
- repeat
- getFuel()
- turtle.attackDown()
- until turtle.getItemCount(3)>0
- redstone.setOutput("right",false)
- end
- getFuel()
- kill()
- --end[this is the end of the code :) ]
- --##building turtle
- function getFuel()
- if turtle.getFuelLevel() <=10 then
- turtle.select(1)
- turtle.refuel(16)
- end
- end
- function preparation()
- getFuel()
- turtle.up()
- turtle.digUp()
- for a=1, 3 do
- turtle.up()
- end
- turtle.back()
- turtle.select(3)
- turtle.place()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.place()
- turtle.up()
- turtle.select(4)
- turtle.place()
- getFuel()
- turtle.turnLeft()
- turtle.forward()
- turtle.forward()
- turtle.down()
- turtle.turnRight()
- turtle.select(3)
- turtle.place()
- turtle.up()
- turtle.select(4)
- turtle.place()
- turtle.down()
- turtle.down()
- getFuel()
- turtle.turnRight()
- turtle.forward()
- turtle.turnLeft()
- turtle.select(3)
- turtle.forward()
- turtle.down()
- turtle.placeUp()
- turtle.down()
- turtle.select(2)
- turtle.placeUp()
- turtle.down()
- turtle.down()
- end
- getFuel()
- preparation()
Advertisement
Add Comment
Please, Sign In to add comment