Skip to content

Introduction

Wyck exposes Minecraft’s underlying world generation system. World generation takes place between biomes and dimensions where dimensions are responsible for the overall shape of the world and biomes are responsible for the details of how the world looks in a particular area.

When we say worldgen, we are referring to how Minecraft blocks are placed in the world and how the game looks in a particular biome. This includes things like the terrain, vegetation, and structures that are generated in a biome.

Unlike Bukkit’s ChunkGenerator, terrain generation is inherently tied to biomes themselves, although you may reuse the same biome generation logic across multiple biomes.

A biome’s generation is described by three kinds of components, which Wyck wraps separately:

  • Carvers cut caves, canyons, and ravines into already-generated terrain.
  • Configured features describe what to generate, such as an ore vein or a tree, by pairing a feature with its configuration.
  • Placed features wrap a configured feature with placement rules that decide where and how often it generates.

These come together in biome generation settings, which is attached to a custom biome.