Make EnderDragon follow waypoints and destroy blocks

Discussion in 'Plugin Development' started by Minecraft1o1, Aug 5, 2016.

Thread Status:
Not open for further replies.
  1. Hello!

    I've been working on plugin for a mini-game, Dragon Escape.
    It's a minigame where you parkour but the dragon is behind you and destroying blocks.
    If it comes close to you, he will kill you.
    I've tried using other plugins like EscapeTheMob and DragonEscape, but they didn't work for me.

    So for know my code is working, but i cannot make EnderDragon to follow waypoints and destroy blocks. I don't know how to do it.
    I watched threads and tried with NMS and Navigation but that doesn't work with EnderDragon.
    What I need is a EnderDragon that i can spawn when the game is started, and i want it to follow waypoints that are in a List<Location>.
    There is also an integer with a destroy radius of EnderDragon which means that EnderDragon will destroy blocks that are in that radius.

    Also, I would like that it doesn't lag too much, so i don't want teleporting it all the time.

    It can be a custom mob if that's required.

    Any ideas can be helpful.

    Please help me!
     
  2. Bumping thread.
     
  3. You could try to make invisible,No-AI mobs for waypoints then use setTarget () to make the enderdragon go towards them. As for destroying blocks, it would do that anyway if you used setTarget()​
     
Thread Status:
Not open for further replies.

Share This Page