mojira.dev
MC-129819

Cold underwater ruin partially generated on top of itself

UPDATED MAY 27, 2023: Added an example with a chest generating in the same block as suspicious gravel.

Example 1 (three loot chests from the same ruin):

Seed: 443897344407718545

/execute in minecraft:overworld run tp @s -777 49 491 168 30

Example 2 (three loot chests from the same ruin; the top chest overlaps a suspicious gravel block)

Seed: 8139007336631598567

/execute in minecraft:overworld run tp @s 80968 38 69143

 

Normally, cold ocean ruins generate three times in the same location, one for each type of stone brick (regular bricks, mossy bricks, & cracked bricks). However, uneven terrain will sometimes cause the mossy brick and cracked brick versions to generate above the regular brick version, which can result in multiple loot chests. In addition, if the ruin generates on a chunk border, it may generate incorrectly in one chunk but perfectly fine in the other chunk. See attached screenshots.

As of the 1.20 snapshots, it is rarely possible for an offset cold ocean ruin to generate its loot chest in the same block where the non-offset ruin had generated a suspicious gravel block. The chest cannot be opened, and it drops itself without any loot if broken. If you start brushing another block, then move your cursor to the chest while still brushing, the chest is replaced by the suspicious gravel, but it doesn't drop any archaeology loot once brushing is complete (It's been reported that using a brush on the chest/suspicious gravel can cause a game crash, but I haven't been able to replicate this as of yet).

Linked issues

Attachments

Comments 10

Can confirm for 1.13.2

Can confirm for 18w48a

Cannot reproduce in 20w22a, probably due to world generation changes in this snapshot.

Found another ruins structure in 1.16-pre1 that's generating incorrectly. Updated the original post.

Seed: 443897344407718545 (same as before)

New coordinates: 339 / 57 / 376

The ruins structure I mentioned in my comment from 1.16-pre1 now generates correctly in 21w06a, likely due to the noise cave generation affecting the terrain around the ruins. However, I did find another such structure, so the problem is still present.

Seed: 443897344407718545 (same as before)

New coordinates: -486 / 52 / 13

MC-214832 appears to be the same issue.

Yeah, I'd agree that MC-214832 is a duplicate. The multiple chests are a side effect of the cold ocean ruins generating at offset y-levels each time, but the bug can still occur while only generating a single chest.

This can be reproduced in 21w37a by using the seed -7956961809837445726 and running the following command:

/execute in minecraft:overworld run tp @p 51701.0 39 45527.0 135 30

1.20-pre6
seed: 8139007336631598567
location: /execute in minecraft:overworld run tp @s 80968 38 69143

[media]

The top chest has data: {id: "brushable_block"} as well as it seems it generated on top of a sus gravel. and therefore cannot be opened. Upon brushing the block, it will also crash the game.

Description: Ticking playerjava.lang.IllegalArgumentException: Cannot set property ddb{name=dusted, clazz=class java.lang.Integer, values=[0, 1, 2, 3]} as it does not exist in Block{minecraft:chest}
    at dcd.a(SourceFile:122)
    at czr.a(SourceFile:84)
    at cdz.a(SourceFile:96)
    at cfz.b(SourceFile:1008)
    at bfz.a(SourceFile:3018)
    at aig.a(SourceFile:1699)
    at bfz.D(SourceFile:3010)
    at bfz.l(SourceFile:2381)
    at byo.l(SourceFile:283)
    at aig.m(SourceFile:510)
    at aiy.c(SourceFile:269)
    at sd.a(SourceFile:254)
    at aix.c(SourceFile:172)
    at net.minecraft.server.MinecraftServer.b(SourceFile:908)
    at net.minecraft.server.MinecraftServer.a(SourceFile:824)
    at fyj.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.w(SourceFile:671)
    at net.minecraft.server.MinecraftServer.a(SourceFile:265)
    at java.base/java.lang.Thread.run(Thread.java:833)

Can confirm the overlapping chest/sus gravel; however, I was unable to replicate the crash. When I tried using a brush on the top chest, I would simply swing my arm at it, to no effect. On the other hand, if I started brushing a nearby block, then moved my cursor to the top chest, it would be replaced by the suspicious gravel, but wouldn't provide any archaeology loot.

Kevin Kolpack

(Unassigned)

Confirmed

Platform

Low

Structures

underwater-ruins

Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w21b, Minecraft 18w22a, Minecraft 18w22b, ..., 1.21.2 Pre-Release 4, 1.21.2 Pre-Release 5, 1.21.2 Release Candidate 1, 1.21.2, 24w44a

Retrieved