Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- materialcheckerandbuilder:
- type: task
- debug: enabled
- script:
- - narrate "Successfully ran script"
- - define localone <l@-10,4,-10,newworld>
- - narrate "<def[localone]>"
- - repeat 20:
- - define x <def[value].sub[1]>
- - repeat 20:
- - define z <def[value].sub[1]>
- - define localone <location[<def[x]>,4,<def[z]>,newworld].add[-10,0,-10]>
- - choose <def[localone].material>:
- - case m@white_wool:
- - run builderwhite def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
- - case m@oak_planks:
- - run builderoakplank def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
- - case m@oak_slab:
- - run builderstrippedoaklog def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
- - case m@yellow_wool:
- - run builderyellow def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
- - case m@blue_wool:
- - run builderblue def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
- - case m@black_wool:
- - run builderblack def:<location[<def[x].mul[10]>,4,<def[z].mul[10]>,newworld].add[-181,0,22]>
- - default:
- - narrate "."
Add Comment
Please, Sign In to add comment