KubeJS

KubeJS

61M Downloads

Worldgen Wiki incorrect/misleading info

Apollounknowndev opened this issue ยท 3 comments

commented

This may be the wrong place for this, if so I'm sorry :P

The example script for adding an ore is incorrect. Example script, lines 14 to 17:

ore.addTarget([
    'minecraft:gravel',     // replace gravel...
    /minecraft:(.*)_dirt/   // or any kind of dirt (including coarse, rooted, etc.)...
], 'minecraft:tnt')       // with TNT (trust me, it'll be funny)

This regex doesn't target regular dirt. Instead of using a regex, it should reference #minecraft:dirt which automatically targets all dirt/grass blocks, both vanilla and modded.

commented

Marked this as documentation related, hopefully I remember to fix this during the wiki migration

commented

This warning is also completely incorrect.
image
Dirt generates very early on; while I can't remember off the top of my head when dirt generates, I know it's done before the lakes step.

commented

Dirt veins are spawned during the UNDERGROUND_ORES stage: https://github.com/misode/mcmeta/blob/ef461e15706042769ef417437536ed6bc5b4f1d0/data/minecraft/worldgen/biome/beach.json#L38C18-L38C26

Which is after LAKES but before UNDERGROUND_DECORATION
image