Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- smalldoornum:
- type: task
- script:
- - if <location[0,3,0,newworld].material> == m@orange_wool:
- - modifyblock <cuboid[<location[3,3,3,newworld]>|<location[-3,3,-3,newworld]>]> white_wool
- - modifyblock <cuboid[<location[0,3,0,newworld]>]> orange_wool
- - define randomdoors <util.random.int[1].to[2]>
- - define startlocation:<location[0,3,0,newworld]>
- - if <def[randomdoors]> == 1:
- - narrate <def[randomdoors]>
- - define newstartlocation:<<def[startlocation]>+<location.add[<0,0,3>]>>
- - narrate <def[newstartlocation]>
- - modifyblock <location[0,3,3,newworld]> gold_block
- - if <def[randomdoors]> == 2:
- - narrate <def[randomdoors]>
- - define newstartlocation:<[<def[startlocation]>+<location.add[<0,0,3>]>]>
- - narrate <def[newstartlocation]>
- - modifyblock <location[0,3,3,newworld]> coal_block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement