Advertisement
ReshiStar

Untitled

Jan 16th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. smalldoornum:
  2. type: task
  3. script:
  4.  
  5. - if <location[0,3,0,newworld].material> == m@orange_wool:
  6. - modifyblock <cuboid[<location[3,3,3,newworld]>|<location[-3,3,-3,newworld]>]> white_wool
  7. - modifyblock <cuboid[<location[0,3,0,newworld]>]> orange_wool
  8. - define randomdoors <util.random.int[1].to[2]>
  9. - define startlocation:<location[0,3,0,newworld]>
  10.  
  11. - if <def[randomdoors]> == 1:
  12. - narrate <def[randomdoors]>
  13. - define newstartlocation:<<def[startlocation]>+<location.add[<0,0,3>]>>
  14. - narrate <def[newstartlocation]>
  15. - modifyblock <location[0,3,3,newworld]> gold_block
  16. - if <def[randomdoors]> == 2:
  17. - narrate <def[randomdoors]>
  18. - define newstartlocation:<[<def[startlocation]>+<location.add[<0,0,3>]>]>
  19. - narrate <def[newstartlocation]>
  20. - modifyblock <location[0,3,3,newworld]> coal_block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement