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

Using Pick Block on boats crashes the game

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w37a
    • 24w36a
    • None
    • Confirmed
    • Crash

      I know that this is duplicated with MC-276345 but MAY I help you tell the reason

      Description

      1. Place a boat, any variant. 

      2. Switch to creative mode. **

      3. Middle-click the boat, and you'll find that it crashes. 

      Reason

      "class cqh" (Boat) has a function "cvx cqh.dK()" (Boat.getPickResult).

      That returns a new "class cvx" (ItemStack) of function "cvt cqh.al_()" (Boat.getDropItem).

      "cvt cqh.al_()" (Boat.getDropItem) returns "cqh$b cqh.w()" (Boat.getVariant)'s "cvt cqh$b.d()" (Boat$Type.getBoat)

      And it seemed like "cvt cqh$b.d()" returns null, then "cvx.<init>(deu, int, ku)" (ItemStack(ItemLike, int, PatchedDataComponentMap)) crashes. 

       

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

              Created:
              Updated:
              Resolved:
              CHK: