Plugin that prevents Endermans teleport abilities in certain worlds

Discussion in 'Plugin Requests' started by alnoise, Jun 21, 2018.

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

    alnoise

    Plugin category: Utility

    Minecraft version: Spigot 1.8.8

    Suggested name: EnderGrinder

    What I want: I need a plugin that prevents enderman from teleporing when taking any kind of damage at all. (suffication, cactus, ect). This makes it so players are able to easily create Enderman grinders on my skyblock server without endermites. Also I need the plugin to only be enabled per world because I have mob arena.

    Ideas for commands: I dont need any commands

    Ideas for permissions: No permissions please

    When I'd like it by: As soon as possible
     
  2. Offline

    MightyOne

    isnt the cool thing about ender farms theat you create them in the end?
     
  3. Offline

    alnoise

    You can’t go to the end in Skyblock.
     
  4. Offline

    alnoise

    Bump, really need this :)
     
  5. @alnoise
    I can do this, just one question:

    Should I stop Endermen being able to teleport altogether or should I add a cooldown so Endermen can't teleport x seconds after they've been damaged?
     
  6. Offline

    MightyOne

    @AlvinB an enderman farm... doesn't it say it all?
     
  7. Offline

    alnoise

    Stop Enderman from being able to teleport all together. Mainly just so they won't teleport when they hit the water of the grinder, but also to keep them from teleporting once they have been hit by the player.
     
  8. Alright, I finished the plugin. Everything should be pretty self-explanatory. All you have to do is add the desired worlds to the list in the config file.

    http://bringholm.com/downloads/EnderGrinder.jar

    The teleportation-cancel is a little glitchy graphically (IE Endermen seem to teleport when in reality they don't), but I'm afraid this is a limitation with Bukkit that I can't fix without major efforts.
     
  9. Offline

    MightyOne

    @AlvinB daaaamn like 20 lines of code! xD I mean I am a total noob in creating custom entities, but wouldnt it be possible to create a custom enderman that does not teleport around?
    I am just interested if you were able to implement that and not to judge anyone.
     
  10. @MightyOne
    Yes, that would be entirely possible (and that's what I was thinking of), but the big problem is that you'd have to extend NMS classes. That would mean that you would need to go around updating the plugin for every single new update (since you can't extend something using reflection. Perhaps you could prevent the teleport packets from being sent (which is doable with reflection), but either way, it takes way more effort than I am willing to put in.
     
  11. Offline

    alnoise

    Hey i'm sorry it took so long for me to respond but thanks so much for the plugin! They don't seem to be spawning in water though which is a bit problem. If you could look into that, that would be great.
     
  12. @alnoise
    Well, that is a completely different thing. Do you want Endermen to spawn in waterblocks? If you do, I can look into it, but I can't promise anything.
     
  13. Offline

    alnoise

    Kind of, like for a grinder if a player has just a basic water pushing setup it still spawns.
     
  14. Offline

    alnoise

    I still need this if anyone can make it :)
     
  15. Offline

    Tango_

    Whats the sole reason from stopping the endermen from teleporting, is it just because they spawn endermites?
     
  16. Offline

    johnny boy

    no it's because when you hit them they tp... and he needs a grinder for them.
     
Thread Status:
Not open for further replies.

Share This Page