Minecraft Worlds
@shelson/minecraft-worldsv2026.09.25.1
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.
03Models
@shelson/minecraft-worldsv2026.09.25.1mc_world.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| seed | string | |
| mcVersion | enum |
fn findStructures(structure: enum, dimension: enum, centerX: number, centerZ: number, radiusRegions: number)
Scan the region grid around a center point for a structure type
| Argument | Type | Description |
|---|---|---|
| structure | enum | |
| dimension | enum | |
| centerX | number | |
| centerZ | number | |
| radiusRegions | number |
fn biomeAt(x: number, z: number, y: number, dimension: enum)
Get the biome at a single position. scale=1 means block
| Argument | Type | Description |
|---|---|---|
| x | number | |
| z | number | |
| y | number | |
| dimension | enum |
fn spawn()
Estimate the world spawn point
fn strongholds(count: number)
List the first N strongholds in generation order, with accurate
| Argument | Type | Description |
|---|---|---|
| count | number |
fn slimeChunks(centerX: number, centerZ: number, radiusChunks: number)
Find slime-spawning chunks around a block position. Slime chunks
| Argument | Type | Description |
|---|---|---|
| centerX | number | |
| centerZ | number | |
| radiusChunks | number |
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,
| Argument | Type | Description |
|---|---|---|
| biome | string | |
| x | number | |
| z | number | |
| y | number | |
| radius | number | |
| dimension | enum |
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
| Argument | Type | Description |
|---|---|---|
| x | number | |
| z | number | |
| width | number | |
| height | number | |
| y | number | |
| dimension | enum |
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 Versions
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