Setting the targets of EnderDragons and Ghasts

Discussion in 'Resources' started by codename_B, Jul 28, 2012.

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

    codename_B

    In a project I'm doing atm, I needed to set the target of both a dragon and a ghast, there's no nice easy way to do this, so I made one.

    http://pastie.org/4350900

    Code:
    EXAMPLES
     
    Util.setTarget(ghast, player);
    Util.setTarget(dragon, null);
    Util.getTarget(dragon);
    
    Only criteria is, credit me and tag me if you use it!
     
    Icyene likes this.
  2. Offline

    hawkfalcon

    Lmao, you figured it out;p
     
  3. Offline

    codename_B

    You betcha ;D
     
Thread Status:
Not open for further replies.

Share This Page