Chunk - Load (Effect) — SkBee
Addon: SkBee · Category: Effect · Since: 3.20.0
Syntax
[async] load chunk at %number%,[ ]%number% (in|of) [world] %world% [with ticket]Description
Load a chunk. **Options**: - `%number%,[ ]%number%` = Represents the X/Z coords of a chunk. Not to be confused with a location. Chunk coords are essentially a location divided by 16, example: Chunk 1/1 = Location 16/16 - `chunk key %number%` = Represents the key of a chunk (chunk's chunk coordinates packed into a long). - `async` = Will load the chunk off the main thread. Your code will halt whilst waiting for the chunk[s] to load. - `with ticket` = Will add a ticket to the chunk, preventing it from unloading until you explicitly unload it or the server stops.
Examples
load chunk at 1,1 in world "world"
load chunk at location(1,1,1, world "world")
load chunk at 150,150 in world "world"
load chunk at 150,150 in world "world" with ticket
load chunks within {_l1} and {_l2}
load chunks within {_l1} and {_l2} with tickets
async load chunk at {_loc}
async load chunk at 100,100 in world "world"
async load chunk at 1,1 in world of player with ticket
async load chunks within {_l1} and {_l2} with tickets