mojira.dev
MC-303947

Clicking on any item with the "unbreakable", "glider", or "intangible_projectile" data component causes the game to crash

As the title states, clicking on any item in the inventory with an "unbreakable", "glider", or "intangible_projectile" item component causes the game to crash, but Creative Mode inventory remains unaffected.

Reproduction method (25w45a):

  1. Use the command:

    /give @s tnt[minecraft:unbreakable={}]
  2. Ensure the interface is not in Creative Mode inventory during interaction.

  3. Open your inventory and click on the obtained item.

Expected action:

You take the item.
Actual action:

Game crash

Linked issues

MC-303953 New crash with unbreakable items in inventory Resolved MC-303968 Crashed When Playing Possibly After Checking Chest? Resolved MC-303994 我在25w45a转移带组件[unbreakabel={}]的物品会崩溃 Resolved MC-304027 Game crashes when clicking or moving items with multiple data components Resolved MC-304051 Some enchanted items crash the game when being moved in the inventory with the error code -1. Resolved

Attachments

Comments 5

THATS TRUE, I also encountered this bug.

好吧,这个bug对于我这个指令玩家来说有“亿点”不友好(Well, this bug is "a bit" unfriendly for me as a game commands player.)

在我们中国,我们都说:“Mojang的屎山代码发力了”(In China, we often say, "Mojang's pile of garbage code is kicking in.")

简而言之,就是很神奇(In short, it's just amazing.)

Bee

boq

Confirmed

Platform

Very Important

Crash

25w45a

25w46a

Retrieved