Wiki 9Minecraft BiomeTweaker Mod Wiki

BiomeTweaker Mod — Guide

Scripting Mechanics

The core of BiomeTweaker is its scripting language. Scripts are read sequentially and can target specific biomes or apply changes globally.

Basic Syntax

To target a biome, you must first "get" it using its registry name. For example: plains = forBiome("minecraft:plains")

Once a biome is targeted, you can apply various commands to it. Commands follow the format: biomeVariable.command(parameters).

Essential Commands

Command Purpose Example
set("property", value) Changes a basic biome property. plains.set("name", "Golden Fields")
registerGenBlockRep(target, replacement) Replaces one block with another during generation. plains.registerGenBlockRep("minecraft:stone", "minecraft:sandstone")
addSpawn(entity, weight, min, max) Adds a mob spawn to the biome. plains.addSpawn("minecraft:wolf", 10, 2, 4)
removeAllSpawns(category) Removes all mobs from a specific category (MONSTER, CREATURE, etc.). plains.removeAllSpawns("MONSTER")