Paste #47776: Untitled Paste

Date: 2018/06/08 18:47:25 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


test1:
  type: task
  speed: 0
  script: 
  # Size until worldborder
  - define worldborder 50
  # Whatever world name here
  - define worldname build_world
  # Chooses a random chunk in that world
  - define x <util.random.int[0].to[<def[worldborder]>]>
  - define z <util.random.int[0].to[<def[worldborder]>]>
  - define chunk "<l@%x%,1,%z%,%worldname%.chunk>"

  - teleport <player> <def[chunk].surface_blocks.random.above>