Solved Get entity EnderDragon

Discussion in 'Plugin Help/Development/Requests' started by Scorpionvssub, Jul 10, 2015.

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

    Scorpionvssub

    Been trying a ton of things to get the listener to work for 1 thing, an EnderDragon.

    If i do EnderDragon its there it able to finish it but always underlines it with red on EnderDragon as i cant find the right combo.

    ive tried many ways and latest was:

    Code:
            String killername = killer.getName();
            String entity;
            entity = EntityDeathEvent.getHandlerList().toString();
    I know it doesnt say "enderdragon" thats because it underlines red each time so hoping 1 of you can point me into the right direction.

    If you need the whole thing jjust ask.
     
  2. Offline

    benjfb1

    What are you trying to do? Can I see your code?
     
  3. Offline

    Scorpionvssub

    Someone showed me a tutorial on youtube from a guy scripting stuff in which entity was 1 of em:
    if (event.getEntity() instanceof EnderDragon) {
     
    Ruptur likes this.
Thread Status:
Not open for further replies.

Share This Page