Mojira Archive
MCPE-184732

Combining 2 items with negative durability results in an invisible item that can cause the game to crash

Steps to reproduce:

  1. Run /give @s golden_leggings 2 16500. This should result in you obtaining 2 pieces of golden armor with negative durability
  2. Combine the 2 pieces of armor in the crafting table
  3. Shift click the resulting item into your leggings slot (on Windows)/Unequip the item from your leggings slot (on Android)

Observed result:
Upon combining the 2 pieces of armor, you receive an invisible piece of armor. Shift clicking/unequipping the item results in a game crash.

Expected result:
You receive a visible piece of armor that does not crash the game.

Original description:
As the name of the post implies, upon combining two negative durability items that are low enough to underflow, (a.k.a if the durability of the combination of items goes below -32768), it will generate an item with an invisible texture that if you right click, the game will proceed to crash as shown here.

https://drive.google.com/file/d/1p7H8wZtPN24aijEGs01PDmVyl1MfWc4Q/view?usp=drive_link 

I suspect it has to do with negative IDs and how the game handle such items. But I have no clue on why this happens

Unresolved

MrThink15000

2024-07-30, 08:11 PM

2024-10-04, 05:23 PM

7

4

Confirmed

1274496

1.21.2 Hotfix, 1.21.40.23 Preview, 1.21.31 Hotfix

-