Paste #47406: Untitled Paste

Date: 2018/05/07 20:23:42 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


script:
    - worldborder <player.location.world> center:<player.location> size:10.0
    - inventory clear
    - give i@AddArmorstand quantity:1 slot:1
    - define pos1 <player.location.add[l@4,0,4]>
    - define pos2 <player.location.add[l@-4,10,-4]>

    # Setup Markers
    - modifyblock <player.location.add[l@4,-1,-4]> green_wool
    - modifyblock <player.location.add[l@4,-1,-3]> red_wool
    - modifyblock <player.location.add[l@3,-1,-4]> blue_wool

    # Define Furniture Area
    - note cu@<def[pos1].x>,<def[pos1].y>,<def[pos1].z>,<def[pos1].world>|<def[pos2].x>,<def[pos2].y>,<def[pos2].z>,<def[pos2].world> as:FurnitureArea
    - flag <player> furnitureCuboid:cu@FurnitureArea