メインコンテンツまでスキップ

Biome Actions

Actions allows you to dynamically change biomes or force client updates.

  • Apply Biome — Set the biome at a specific location or radius.

Actions

Apply Biome Action

Sets the biome at a specific location.

biomeId

" required> The biome ID to apply. Can be update vanilla (e.g. minecraft:plains) or custom (e.g. typewriter:enchanted_forest).

locationPosition

The center position where the biome change originates.

radius

" default="0"> The radius in blocks to apply the biome. 0 affects only the single block column.

atPlayerLocationBoolean

If true, applies at player's location. If false, might require specific target location logic (currently defaults to player location if false as well in implementation).

action:
type: apply_biome_action
biomeId: "typewriter:enchanted_forest"
radius: 10
location:
x: 0
y: 64
z: 0
world: "world"

Refresh Biome Chunks Action

Sends biome update packets to players in the area. This is usually called after the Apply Biome action to ensure players see the change immediately without re-logging.

radius

" default="5"> Chunk radius around the player to refresh.

action:
type: refresh_biome_chunks_action
radius: 5