Saltar al contenido principal

Custom Biome Definition

The Custom Biome Definition entry is the core of this extension. It allows you to register a entirely new biome into the server's datapack system.

Configuration

biomeIdString

Unique ID for the biome (e.g. enchanted_forest). This is used in actions and checks.

displayNameString

The readable name used in placeholders and UI/Chat.

baseBiomeString

The vanilla biome to use as a template. Determines mob spawning and generation features unless overridden. Example: minecraft:forest.

temperatureFloat

Biome temperature (0.0 to 1.0). Affects snow generation and foliage color in some resource packs.

downfallFloat

Rain/Snow amount (0.0 to 1.0).

Visuals (Colors)

fogColorHexColor

Color of the distance fog.

waterColorHexColor

Color of the water surface and underwater fog.

skyColorHexColor

Color of the sky.

grassColorHexColor

Override color for grass blocks.

foliageColorHexColor

Override color for tree leaves and vines.

Visual Attributes (1.21.11+)

fogStartDistanceFloat

Distance where fog starts.

fogEndDistanceFloat

Distance where fog ends.

skyFogEndDistanceFloat

Distance where sky fog ends.

waterFogStartDistanceFloat

Distance where water fog starts.

waterFogEndDistanceFloat

Distance where water fog ends.

cloudFogEndDistanceFloat

Distance where cloud fog ends.

cloudHeightFloat

Height of the clouds.

skyLightFactorFloat

Multiplier for sky light brightness.

sunAngleFloat

Sun angle (0.0 = overhead).

moonAngleFloat

Moon angle.

starAngleFloat

Star angle.

starBrightnessFloat

Star brightness.

moonPhaseString

Moon phase (e.g. full_moon, waning_gibbous).

id: enchanted_biome
type: custom_biome_definition
name: "Enchanted Forest"
biomeId: enchanted_forest
baseBiome: minecraft:forest
temperature: 0.7
fogColor: "#1a3d2e"
waterColor: "#3f76e4"
skyColor: "#7ba4db"

[!WARNING] You must restart your server after creating or modifying a biome definition. The server needs to generate/update the datapack during the startup sequence.