Mojira Archive
MC-269668

Unexpected items in loom cause game crash

If unexpected items somehow appear in loom top slots (banner slot and dye slot) and you try to choose recipe - minecraft crashes with `ClassCastException` because of item in banner slot being not `Dyeable`.

I haven't tested bottom loom input slot so I don't know if there is same problem with it.

I think the solution is to not show available recipes if input items are `wrong` (somehow, maybe with tags or idk).

I'm not sure if I should report this as I don't know if it can be done in vanilla because generally you can not put wrong items in loom slots (maybe you can with datapacks but I don't know how to create datapacks).
Also I don't know how to reproduce this because I found this in earlier version with plugin.
And I didn't find any issue related to this problem so I guess it's present in last version as well.

Invalid

MrHell

2024-03-20, 07:33 PM

2024-03-20, 07:47 PM

2024-03-20, 07:47 PM

0

1

Unconfirmed

(Unassigned)

1.20.4, 24w12a

-