跳到主要内容

World Actions

Manipulate global environment variables.

Configuration

time_action

Sets the exact time of day. timeLong

Ticks (0-24000). 0=Dawn, 6000=Noon, 18000=Midnight. worldString

Target world (optional).

weather_action

Sets the weather state. weatherEnum

CLEAR, RAIN, STORM. durationDuration

How long it lasts.

tree_spawn_action

Spawns a specific tree structure. locationLocation

Where to grow the tree. typeEnum

OAK, BIRCH, JUNGLE, etc.

Example Usage

time_action:
time: 18000
weather_action:
weather: STORM
duration: 20m