Controlling enderdragon behavior.

Discussion in 'Plugin Development' started by bkleinman1, Jun 17, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    bkleinman1

    In a section of a rather large plugin I am making, I need to be able to spawn an Ender Dragon at a specific coordinates (lets say x: 0, z: 0) and then allow the dragon to fly like usual, however for it to not leave an area.

    For example, (using the coords 0, 0 as a spawn point) If I were to spawn the dragon, it would not be able to fly outside the coordinates of the area x: -50, z: -50 to x: 50, z: 50.

    I don't want it to just stop the dragon in its tracks and look unnatural, I need to pick a new direction, and continue flying as usual.

    As of current, I have no code to show, I am unsure on where to even start.

    Any help would be appreciated. :)
     
  2. bkleinman1
    I'd also like to see how this is done. I was working on it a while ago, tried asking around for help but enderdragon is tough to work with. Apparently you can't edit the pathfinder goals, nor use the a() (in 1.6.4R2.0) navigation method.
     
  3. Offline

    Ice3ider4

  4. Offline

    bkleinman1

Thread Status:
Not open for further replies.

Share This Page