HomeJavaModsBiome Squisher
Biome Squisher
ModsJava

Biome Squisher

by lukebemish · on Modrinth

A library mod for adding biomes by "squishing" other biomes out of the way. Free Minecraft Java mod for 1.21.1.

⬇ Download on Modrinth

Biome Squisher

Central

An innovative new approach to adding biomes to the vanilla Minecraft biome map, Biome Squisher is designed with the goal of being non-destructive, meaning that vanilla biome placement, boundaries, and relative rarities are preserved. Additionally, a secondary goal of Biome Squisher is to work well with multiple biome mods; gone are the days of each worldgen mod present having it's own regions of the world, with only rare borders between them.

A new solution to biome injection

Unlike other solutions to the problem of adding new biomes, Biome Squisher "squishes" the vanilla biomes (or, in fact, previously added modded biomes) out of the way to open a "hole" in the biome space which a biome can be generated within. This is done in a way that multiple biome injections can be deterministically layered on top of each other - ensuring that even if multiple mods inject biomes in the same location, they are all properly "squished" and no biomes get disproportionately shrunken or expanded.

Some things to note with this approach:

It turns out that the process is not nearly that simple, and there's some pitfalls deal with. Biome Squisher accounts for these edge cases and does the math necessary for such "squishing" for you, providing a nice datapack-based API to inject extra biomes into the biome map.

So how do I use this?

Biome Squisher is controlled entirely by datapack. First, a mod defines a series which Biome Squisher will execute on the biome space of the relevant dimension, at data/[namespace]/biomesquisher/series/[path].json. They have the following structure:

Each squisher referenced by a series should be placed at data/[namespace]/biomesquisher/squisher/[path].json. They have the following structure:

Biome Squisher applies registered series in alphabetical order, so that biome injection is platform-independent and deterministic.

The mod provides several commands useful for debugging the biome space in general:

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more