Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-269668

Unexpected items in loom cause game crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.20.4, 24w12a
    • None
    • Unconfirmed
    • (Unassigned)

      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.

            Unassigned Unassigned
            MrHell MrHell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: