World Creator - Create Section (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.22.0
Syntax
[[a ]new] world creatorDescription
Create a new world creator with several options to customize. **Entires**: - `key` = Represents the NamespacedKey of your world (required, accepts NamespacedKey/String). - `seed` = Represents the seed if your world [optional, defaults to random]. - `world_type` = The WorldType of your world [optional, defaults to normal]. - `environment` = The Environment of your world [optional, defaults to normal]. - `generator_settings` = The generator settings of your world used for flat worlds [optional String]. - `structures` = Whether to generate vanilla structures in the world [optional Boolean, defaults to true]. - `hardcore` = Whether to enable hardcore mode in the world [optional Boolean, defaults to false]. - `load_on_start` = Whether to load the world automatically on server start [optional Boolean, defaults to false]. - `spawn_location` = The spawn location of the world [optional Location, Minecraft will try to find one for you]. - `chunk_generator` = A custom chunk generator [optional String, ID of a custom chunk generator]. - `copy_world` = A World to copy settings from [optional World]. - `clone_world` = A World to fully clone [optional World].
Examples
set {_w} to new world creator:
key: "my_worlds:cool_world"
world_type: large_biomes
environment: nether
structures: false
hardcore: false
seed: 12345
clone_world: world("world")
set {_w} to new world creator:
key: "my_worlds:fancy_world"
world_type: normal
environment: normal
structures: true
seed: 9999
chunk_generator: "my_custom_generator"