Fuzss / netherchested

Use the Nether's power to store 8 times more items than usual in this chest.
https://www.curseforge.com/minecraft/mc-mods/new-nether-chest
Mozilla Public License 2.0
2 stars 1 forks source link

[Crash]: Closing a chest with full inventory breaks the world #13

Closed RockZe closed 1 month ago

RockZe commented 1 year ago

Mod Loader (Required)

Fabric

Minecraft Version (Required)

1.19.2

Mod Version (Required)

v4.0.4

Notes (Required)

  1. your inventory must be completely filled (for example, everything is in stone)
  2. open the infernal chest and take on the left mouse button objects of another type, such as land, for 65 + pieces (you need exactly more, up to 64 there are no errors)
  3. WITHOUT taking into inventory those items that you took on the left mouse button, just press ESC (to exit the chest)
  4. The game crashes, and a thousand textures of the earth appear in front of your eyes for a second.

P.s. my server died in a similar way and I tried to clear the region with these items for a very long time. As a result, I managed to delete 82768 entities with the command, although they took obviously less from the chest. I think this indicates some strange bug that not only breaks the server, but also clones items.

Crash Report (Required)

https://gist.github.com/RockZe/79127bcce246509c15f11216ee17147d

latest.log (Optional)

No response

muon-rw commented 1 month ago

This seems to persist in v8.0.3-1.20.1, though without any log messages.

A slight clarification on reproduction:

  1. Fill your inventory
  2. Fill a Nether Chest; don't fill your inventory and chest with only one type of item.
  3. From the chest, pick up a stack size of 65 or higher
  4. While holding the stack, fill in an item into the empty nether chest slot (like with a hopper)
  5. Still holding the stack, close the inventory with Escape.

Thousands of items will attempt to spawn and the game will crash with an Out of Memory error. In the worst cases, the chunk will save this data and crash every time the area attempts to load.

Fuzss commented 1 month ago

Fixed in latest versions, thank you!