ReshiStar

Untitled

Feb 14th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. materialcheckerandbuilder:
  2. type: task
  3. debug: enabled
  4. script:
  5.  
  6. - narrate "Successfully ran script"
  7. - define localone <l@-10,4,-10,newworld>
  8.  
  9. - narrate "<def[localone]>"
  10. - repeat 20:
  11. - define x <def[value].sub[1]>
  12. - repeat 20:
  13. - define z <def[value].sub[1]>
  14. - define localone <location[<def[x]>,4,<def[z]>,newworld].add[-10,0,-10]>
  15. - choose <def[localone].material>:
  16. - case m@white_wool:
  17. - run builderwhite def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
  18. - case m@oak_planks:
  19. - run builderoakplank def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
  20. - case m@oak_slab:
  21. - run builderstrippedoaklog def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
  22. - case m@yellow_wool:
  23. - run builderyellow def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
  24. - case m@blue_wool:
  25. - run builderblue def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
  26. - case m@black_wool:
  27. - run builderblack def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
  28. - default:
  29. - narrate "."
Add Comment
Please, Sign In to add comment