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

Ghasts and Witches Do Not Aim Properly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.4.2
    • Minecraft 14w29b
    • Ubuntu 12.10, Java 1.7.0_09
    • Unconfirmed
    • Survival

    Description

      I looked in the source code for witches as I was making a mod and discovered that the witches used the motionX/motionZ of the entity they are attacking to throw potions where the entity will be, and not where it is.

      However, upon testing their aim in-game while moving sideways, I found their potions would never hit me. Upon further testing (printing the motionX/motionZ out when throwing a potion), I found that when the witch checks for motionX/motionZ, it is 0 most of the time, even when the target (the player in this case) is moving sideways.

      In other words, witches ain't throwin' nothing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mns2 John Locke
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: