Today I am here to ask if anyone knows a way to remove no clip from Ender Dragons. I am pretty sure this is possible as I have seen people edit mob AI. Anyone got any suggestions on how I would do this? I know that to modify something about an EnderDragon you have to create a class, make it extend the class for EnderDragons. Code: import org.bukkit.entity.EnderDragon; import net.minecraft.server.World; public class Dragons extends net.minecraft.server.EntityEnderDragon { public Dragons(World world) { super(world); } public void s_(){ EnderDragon dragon = (EnderDragon) this.getBukkitEntity(); } } This is what I have so far. I just can't figure out a way to take away their noclip. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
... Just a bit late, yeah. I suppose you could override EntityMoveEvent (or whatever it's called) to stop ender dragons going near walls? Might cause a bit of lag.