mojira.dev
MC-125474

Opening the creative inventory while the crafting recipe book is enabled causes a crash

The bug

When the recipe book is enabled in a crafting table or in survival inventory, opening the creative inventory make the game to crash.

How to reproduce

  1. Use a crafting table or open your inventory in survival mode

  2. Enable the recipe book

  3. Close the crafting table menu or close your inventory

  4. Switch to creative mode

  5. Open your inventory

Crash report

18w07b\: [^crash-2018-02-15_16.59.33-client.txt]

Description: Unexpected error

java.lang.ClassCastException: cby$b cannot be cast to amn
	at cda.a(SourceFile:39)
	at ccy.f(SourceFile:84)
	at ccy.a(SourceFile:73)
	at ccx.c(SourceFile:186)
	at ccx.a(SourceFile:114)
	at ccx.a(SourceFile:78)
	at ccg.c(SourceFile:56)
	at cau.a(SourceFile:310)
	at bxe.a(SourceFile:728)
	at bxe.av(SourceFile:1335)
	at bxe.m(SourceFile:1220)
	at bxe.b(SourceFile:791)
	at bxe.a(SourceFile:381)
	at net.minecraft.client.main.Main.main(SourceFile:141)

Linked issues

MC-125592 Opening the creative inventory while the recipe book is open crashes the game. Resolved MC-125600 crash Resolved MC-125610 18w07b can't press E to open inventory when loading 18w07a world Resolved MC-125619 Pressing E and Minecraft closing Resolved MC-125646 Creative Mode Bug Resolved

Attachments

Comments 8

Please attach the crash report.

This Bug can also be reproduced by having wooden tools in the inventory. After Crafting them, switching to creative mode and opening the inventory will immediately crash the game

I've changed the report a little bit, I hope you're fine with that. Please tell if something is wrong now because of my changes.

I have had this happen, I can't open my inventory at all in my profiile, I have to use the official snapshot profile

Just had it happen. Was trying to figure out kelp and it just crashed when i tried to switch out.

I didn't need to even be in survival mode. I put down a crafting table, attempted to use it, and when I tried to get out it crashed.

Right, for the crafting table it's not required, It's a mistake caused by a mod edit.

migrated

Nathan Adams

Confirmed

Minecraft 18w07b

Minecraft 18w07c

Retrieved