mojira.dev
MC-114332

Emerald ore generation can load new chunks

The emerald ore generation does not offset by 8 X and 8 Z, so it will sometimes generate on a chunk boundary and load a new chunk during ore generation.
net.minecraft.world.biome.BiomeHills.EmeraldGenerator#generate (MCP names)

Other ores offset their generation by +8, +8 in order to generate properly. See net.minecraft.world.gen.feature.WorldGenMinable#generate (MCP names).

I made a reddit post to help mod makers follow this rule, and while looking into it I found that vanilla emerald ore has this issue.

Linked issues

Comments 2

Maybe the code has changed slightly since there is now no seperate emerald ore generator class in 1.12, instead it is done in net.minecraft.world.biome.BiomeHills.decorate(World, Random, BlockPos).

This should be fixed as of 18w06a, but I'd like someone who knows world generation better to verify. Emerald ore now uses the same generation system as all other ores, instead of manually being created in decorate.

mezz

migrated

Confirmed

chunk, emerald_ore, world-generation

Minecraft 1.11.2, Minecraft 1.12

Minecraft 1.13

Retrieved