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

ClassCastException when bee with passenger flies through village

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.15.2
    • None
    • Windows 7, Single Player world 1.15.2 & Spigot 1.15.2
    • Unconfirmed

      A bee with a passenger will crash the server/client when attempting to navigate through a village.

      Crash report is attached, but this is the header:

      Time: 6/16/20 12:00 AM
      Description: Ticking entityjava.lang.ClassCastException: net.minecraft.entity.passive.BeeEntity$1 cannot be cast to net.minecraft.pathfinding.GroundPathNavigator
      

       

      Steps to Reproduce:

      1. Create a village
      2. Summon a bee with a passenger in proximity to the village
        1. /summon minecraft:bee ~ ~ ~ {Passengers:[ {id:'minecraft:zombie'}

          ]}

      Other Notes:

      The issue appears to be related to the passenger's AI because if you summon the zombie with NoAI:1, there is no crash

      This bug was reproduced in a 1.15.2 single player world and on a Spigot 1.15.2 server.
      Attached is the crash report for the single player world

            Unassigned Unassigned
            iamracecar Daniel Tibbetts
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: