Skip to content
Contractsv1.7.0

Biome

Progress counts only when the player is in one of the specified biomes at the moment of the action.

{
"type": "Biome",
"biomes": ["Arctic"]
}
FieldTypeDescription
typestringExactly 'Biome'
biomesenum[]: Arid | Temperate | Tundra | Arctic | Jungle | DeepSeaBiomes the player must be in. One of: Arid, Temperate, Tundra, Arctic, Jungle, DeepSea. A position's biome is its dominant biome: the one with the highest blend weight there, so a transition zone counts as exactly one biome. At least one entry is required, and an empty list is invalid because every position always has a dominant biome.
  • The player’s position is what matters, at the instant of the action. A player standing in the Arctic gets no credit for a kill made in the Jungle. The target’s position is never considered.
  • Biome names are the game’s own names: Arid, Temperate, Tundra, Arctic, Jungle, and DeepSea.
  • A position’s biome is its dominant biome. Biomes blend into each other at their edges, so a spot in a transition zone technically belongs to several biomes at once, and the one with the highest weight wins. Every position always counts as exactly one biome.
  • Biome membership is a 2D column (i.e., like you would see from the map’s perspective): only the horizontal position matters. A player mining deep in a cave under the snow, or flying above it, is in the Arctic biome all the same.
  • At least one biome is required. An empty list is invalid and the contract will not load: since every position always has a dominant biome, “any biome” would be a condition that never does anything.
  • A biome the current map seed doesn’t have simply never matches, there is no validation. For example, not every map has a jungle. If you list only biomes absent from the map, the objective is never completable, so consider listing several biomes when that risk matters.

Gather 10,000 sulfur ore in the Arctic:

{
"type": "Gather",
"amountRequired": 10000,
"items": ["sulfur.ore"],
"conditions": {
"in_the_snow": {
"type": "Biome",
"biomes": ["Arctic"]
}
}
}

Kill 10 scientists in the Jungle:

{
"type": "Kill",
"amountRequired": 10,
"entities": ["@scientists"],
"conditions": {
"in_the_jungle": {
"type": "Biome",
"biomes": ["Jungle"]
}
}
}