mickael49300_fr

auto_build_wither_boss_V2

Dec 16th, 2023
716
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.69 KB | None | 0 0
  1. print(" auto build wither boss ")
  2. print(" programme V2 / nouveau chemin")
  3. print(" by Mickael49300_fr ")
  4. print(" en attente de ressource ")
  5. while true do
  6. sleep(.1)
  7.  
  8.   while rs.getInput("back") do -- attente du signal de redstone pour lancer le programme
  9. -- chargement des block
  10. print(" chargement des block ")
  11. turtle.turnLeft()
  12. turtle.select(1) -- prend 3 tête
  13. turtle.suck(3)
  14. turtle.turnLeft()
  15. turtle.turnLeft()
  16. turtle.select(2) -- prend 4 soul sand
  17. turtle.suck(4)
  18. turtle.turnLeft()
  19. -- deplacement et construction du wither boss
  20. print(" construction du wither boss  ")
  21. turtle.forward()
  22. turtle.forward()
  23. turtle.forward()
  24. turtle.forward()
  25. turtle.forward()
  26. turtle.forward()
  27. -- build wb
  28. turtle.place() -- place 1er soulsand
  29. turtle.turnLeft()
  30. turtle.forward()
  31. turtle.up()
  32. turtle.up()
  33. turtle.turnRight()
  34. turtle.forward()
  35. turtle.turnRight()
  36. turtle.placeDown() -- place 2eme soulsand
  37. turtle.forward()
  38. turtle.placeDown() -- place 3eme soulsand
  39. turtle.forward()
  40. turtle.placeDown() -- place 4eme soulsand
  41. turtle.select(1)
  42. turtle.turnRight()
  43. turtle.forward()
  44. turtle.turnRight()
  45. turtle.turnRight()
  46. turtle.place()  -- place 1er tête
  47. turtle.turnLeft()
  48. turtle.forward()
  49. turtle.turnRight()
  50. turtle.place() -- place 2eme tête
  51. turtle.turnLeft()
  52. turtle.forward()
  53. turtle.turnRight()
  54. turtle.place() -- place 3eme tête
  55. print(" construction du wither boss terminer")
  56. -- retour
  57. print(" retour a la maison")
  58. turtle.turnLeft()
  59. turtle.turnLeft()
  60. turtle.forward()
  61. turtle.forward()
  62. turtle.forward()
  63. turtle.forward()
  64. turtle.forward()
  65. turtle.forward()
  66. turtle.turnLeft()
  67. turtle.forward()
  68. turtle.turnLeft()
  69. turtle.down()
  70. turtle.down()
  71. sleep(10)
  72. print("en attente de ressource")
  73.    
  74.   end
  75. end
Advertisement
Add Comment
Please, Sign In to add comment