Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-351

Entity Movement API

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None

      There's no current way to control the movement of entities in any form, besides latching into NMS (see https://github.com/Morphan1/Denizen/blob/master/src/main/java/net/aufdemrand/denizen/utilities/entity/EntityMovement.java#L95-L115 ). But this does prove that it's possible, and it would be great if Spigot could add some cool API methods to do it.

      This API should also include some form of EntityStartNavigationEvent, EntityStopNavigationEvent, and EntityCancelNavigationEvent (or just throw them all under one and call it EntityNavigationEvent) to track entity movement, allowing plugins to stop entities from moving into areas, make them never stop moving, or ignore anything that could cancel their navigation route.

            Unassigned Unassigned
            Morphan1 Morphan1
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: