Paste #10678: Untitled Paste

Date: 2014/10/22 13:01:02 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
16
17
18


UberforstPluginReplaced:
    type: world
    debug: false
    events:
      on structure grows:
      - if <context.location.add[<util.random.int[1].to[10]>,0,<util.random.int[1].to[10]>].light.sky> == 15 {
        - random {
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> oak_sapling
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [oak_sapling]
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [treesapling]
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [logsapling]
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [trunksapling]
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [woodsapling]
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [oaklogsapling]
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [oaktrunksapling]
          - modifyblock <context.location.find.surface_blocks[GRASS|DIRT|DIRT,2].within[5.0]> [oakwoodsapling]
          }
        }