mojira.dev
MC-122625

Order of contents of north- and east-facing double chests changed after update 1.12.2 -> 1.13

Mod note: Description from @unknown

When using Minecraft 1.13 to open a world created in Minecraft 1.12.2, regardless of whether "optimize world" / forceUpgrade is used, in all north- and east-facing double chests the items from the top half are swapped with the items from the bottom half. In south- and west-facing double chests, this does not occur.

To reproduce this bug:

  1. Create a new superflat creative-mode world in Minecraft 1.12.2.

  2. Put down 4 double-chests, each facing in a different direction (pictured in 1st attached screenshot).

  3. In each of the 4 chests, put a diagonal line of items spanning the width and height of the item grid (pictured in 2nd screenshot).

  4. Save and close the world (a ZIP archive of the 1.12.2 save file at this point is attached).

  5. Open the same world in Minecraft 1.13.

  6. Observe that the north- and east- facing chests have been rearranged (as pictured in 3rd attached screenshot).

 

Note: I'm aware this is a duplicate of an existing issue and the current status is "Won't Fix", but it was requested by a developer that a more detailed issue be created so this problem can be looked at in more detail:

<+Grum> Hafydd: new issue with small map to replicate the issue would be useful; iirc it was north/east oriented chests

Original description

After updating world from 17w46a to 17w48a, items that used to be in the top three rows of north- and east-facing double chests are now in the bottom three rows, and items that used to be in the bottom three rows are now in the top. (south- and west-facing chests are unchanged.)

Linked issues

MC-126173 North- and east-facing double chests contents are flipped when updating from 1.12.2 to 18w08b Resolved MC-130522 Double chest swap Resolved MC-130803 Double Chests Reverse Order when Updating to 1.13 Pre-Release Resolved MC-131998 Double chests switch halves when upgrading to 1.13-pre3 Resolved MC-133882 Items in some double chests swap between top and bottom (World conversion) Resolved

Attachments

Comments 4

That was special haha.

We lack context to properly fix this 😞

@unknown: Showcase of @unknown attached.

The order of items in chests was directional in versions before Minecraft 1.13.
This was a real annoyance when breaking chests, as it was hard to predict which items would drop.

[media]

The structure file has an example of the chests. On top they are as single chests, below as double chests. The colour behind them shows the content of each single chest.

In 1.13 this is perfectly predictable: Top items ->  Left side, Bottom items -> Right side.

[media]

In 1.12.2 it was switched between directions, being awfully confusing.

[media]

The new order seems like WAI to me.

A possible solution to keep the order when upgrading could be to make "Optimize worlds" switch the content of double chests in the affected directions if the chunk is a pre 1.13 chunk.

If this is an issue in map, using an MCEdit filter to automatically fix it might be a good solution for now.

pykaxe

Fry

Confirmed

chest

Minecraft 17w48a, Minecraft 18w08b, Minecraft 1.13

Minecraft 17w49a, Minecraft 18w19b, Minecraft 18w30a

Retrieved