mojira.dev
MC-223260

Emerald ore does not generate as intended

In 21w15a, the ore generation (save copper) was supposedly reverted, however, it doesn't seem that emerald ore was fully reverted, as I found no emerald ore is spawning in the extreme hills biome after a large amount of searching. In 1.16.5, emerald ore spawns with relatively high frequency at Y=11 in the extreme hills biome, however, I used a /fill command repeatedly to remove all stone and such blocks (base stones). I thought that maybe emerald ore was accidentally listed as a base stone, however, I checked, and it is not.

After using a command to clear away the stone, I found emerald ore generating at Y 79, which did not occur in 1.16.5. This means that emerald ore was not properly reverted.

The command I used was:

/execute at @p run fill ~-15 ~ ~-15 ~15 ~31 ~15 air replace #minecraft:base_stone_overworld

Linked issues

Attachments

Comments 8

Emerald ore always generated rarely below y=30 in 1.16 and I don't see anything wrong here.

There isn't any. That's the problem. Not that it is rare, that it is so rare that I have concluded that it doesn't spawn.

Create two Single Biome Mountain worlds with the same seed, and use a repeating command block to replace stone with air

execute at @p run fill ~-15 ~-15 ~-15 ~16 ~16 ~16 air replace stone

to conclusively check whether emerald generation has been changed

I used a similar command to the one you mentioned. However, you can't just replace stone, as emerald ore can generate within diorite, andesite, and granite. This is because they have a tag which allows this. Deepslate does not, which is caused by a bug. The command I use is

/execute at @p run fill ~-15 ~ ~-15 ~15 ~31 ~15 air replace #minecraft:base_stone_overworld

Found some up high in a mountain! Must be that it was not reverted, which is why it wasn't spawning where it should've.

Why was 1.16.5 added as an affects version? This is clearly exclusive to the snapshots. I have removed it for the time being unless someone comments that this is an issue in 1.16.5 as well.

Ah, I see, they put the wrong version. Makes sense.

Brevort

(Unassigned)

Community Consensus

Important

World generation

emerald_ore, ore-generation

21w15a

21w16a

Retrieved