I tried making a thread before and some people directed me somewhere, but no one ever replied to that thread after bumping it a few times, so I'm making another one. How do I spawn in the EnderDragon with NMS (I want the spawn in sequence that happens after you place the end crystals). I got this but it doesn't work: Code (Text): if(world.worldProvider instanceof WorldProviderTheEnd) { EnderDragonBattle enderdragonbattle = ((WorldProviderTheEnd) world.worldProvider).t(); enderdragonbattle.e(); }
So if there is a way to listen for the EnderCrystal placement, using my way would work? Not sure what you are doing really as I don't really know much about the End World or Enderdragon But if so https://www.spigotmc.org/threads/ender-crystal-place-event.132757/ ?
Again I don't know how the crystal or anything works, but are you not enable to cancel the event / set the crystal to air and give it back to them / something along those lines? If not dw, was just trying to help <3