Skip to main content

Minecraft Worlds

@shelson/minecraft-worldsv2026.09.25.1· 12d agoMODELS
01README

Minecraft: Java Edition world seed analysis via the cubiomes C library. One model instance is one world (seed + game version); methods locate structures (villages, monuments, fortresses, ...), sample biomes, and estimate the spawn point.

02Release Notes

Adds Minecraft 1.21.4 through 26.3 by switching to the maintained xpple/cubiomes fork: sulfur_caves (26.2), dappled_forest (26.3) and the abandoned_camp structure. locateBiome results now record their search center, y and radius, and include y and radius in the instance name so searches at different heights no longer overwrite each other. Existing instances upgrade automatically (the mcVersion enum is only widened). A bare '1.21' now means 1.21.11.

03Models1
@shelson/minecraft-worldsv2026.09.25.1mc_world.ts

Global Arguments

ArgumentTypeDescription
seedstring
mcVersionenum
fn findStructures(structure: enum, dimension: enum, centerX: number, centerZ: number, radiusRegions: number)
Scan the region grid around a center point for a structure type
ArgumentTypeDescription
structureenum
dimensionenum
centerXnumber
centerZnumber
radiusRegionsnumber
fn biomeAt(x: number, z: number, y: number, dimension: enum)
Get the biome at a single position. scale=1 means block
ArgumentTypeDescription
xnumber
znumber
ynumber
dimensionenum
fn spawn()
Estimate the world spawn point
fn strongholds(count: number)
List the first N strongholds in generation order, with accurate
ArgumentTypeDescription
countnumber
fn slimeChunks(centerX: number, centerZ: number, radiusChunks: number)
Find slime-spawning chunks around a block position. Slime chunks
ArgumentTypeDescription
centerXnumber
centerZnumber
radiusChunksnumber
fn locateBiome(biome: string, x: number, z: number, y: number, radius: number, dimension: enum)
Search for the nearest occurrence of a biome (e.g. cherry_grove,
ArgumentTypeDescription
biomestring
xnumber
znumber
ynumber
radiusnumber
dimensionenum
fn biomeMap(x: number, z: number, width: number, height: number, y: number, dimension: enum)
Generate a grid of biomes over an area. scale=4 (default) means
ArgumentTypeDescription
xnumber
znumber
widthnumber
heightnumber
ynumber
dimensionenum

Resources

structures(infinite)— Structure locations found in a region scan of the world (fan-out: one
biome(infinite)— Biome sampled at a single position in the world
spawn(infinite)— Estimated world spawn point
strongholds(infinite)— Accurate stronghold positions (biome-checked), in generation order
slimeChunks(infinite)— Slime-spawning chunks around a center point
biomeSearch(infinite)— Result of searching for the nearest occurrence of a biome
biomeMap(infinite)— Grid of biome ids over an area, with an id-to-name legend.
04Previous Versions1
2026.09.14.1
05Stats
A
100 / 100
Downloads
14
Archive size
988.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms