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

Walking mobs don't use pathfinding when using NoGravity-tag



    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w40a, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w16a, Minecraft 17w16b, Minecraft 17w17a, Minecraft 17w17b, Minecraft 1.12.2, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w16a, Minecraft 18w22a, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b
    • Fix Version/s: None
    • Confirmation Status:
    • Category:


      Mobs which have to walk to attack or flee from the player don't seem to move anymore when they are using the NoGravity-tag. The only mob able to move and attack the player is the skeleton.

      What I expected to happen was...:
      The mobs would float in the air and at least try to attack me.

      What actually happened was...:
      They just stand/float on their spot and don't move.

      Steps to Reproduce:

      1. Put up a repeating commandblock with the command
        execute as @e run data merge entity @s {NoGravity:1b}
      2. Activate the commandblock
      3. Spawn in some zombies
      4. Switch into survival mode
      5. Notice how they don't try to attack you

      Note: If you spawn in zombies before you switch on the commandblock and they try to attack you and THEN you activate the commandblock, they will suddenly spin in their spot. If you walk to them they will hit you once and get knocked back, however afterwards they won't deal damage anymore.
      Note 2: If you move near creepers, they will still explode.




            • Assignee:
              Block28 Block twenty-eight
            • Votes:
              7 Vote for this issue
              8 Start watching this issue


              • Created: