[MCPE-537] Chests do not remove items with invalid item IDs loaded from saves Created: 09/Nov/12  Updated: 07/Sep/15  Resolved: 17/Jul/14

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.4.0
Fix Version/s: None

Type: Bug
Reporter: Zhuowei Zhang
Resolution: Cannot Reproduce Votes: 1
Labels: crash, item

Game Mode: Survival
Confirmation Status: Confirmed
Platform: Tablet - Android - Other (Specify in description)
CHK:

 Description   

To reproduce:
1) Make a chest and put something into it
2) hex-edit the entities.dat to change the item ID into something absurd e.g. 55
3) Open the world again, open the chest inventory and try to take something from the invalid item box
4) Crash!

This does not happen with the inventory - any invalid items are automatically removed.

A video by sasuke082594 that demonstrates this issue: http://www.youtube.com/watch?v=Ha2gD9LNqR4

This could also affect worlds moved from one version to another, for example.



 Comments   
Comment by tommo [ 17/Jul/14 ]

Cleaning up all the old issues - please reply if this affects 0.9.3.

Comment by Ryan Terry [ 12/Jun/13 ]

Confirmed for 0.7.1, Except now it just crashes as soon as you open the chest, or as soon as you break it, you dont even get to see the invisible items to try to grab them.

Comment by Tails [ 10/Apr/13 ]

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Do [ 15/Nov/12 ]

Does this still exist in 0.5.0?

Generated at Sat Jan 11 14:10:16 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.