PathfinderGoalArrowAttack

Discussion in 'Plugin Development' started by VortexGmer, Aug 18, 2015.

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

    VortexGmer

    Hi! I was just wondering what the parameters for the PathfinderGoalArrowAttack in a custom entity are used for.
    I'm trying to make a mob which just stands there and shoots at you XD
     
  2. Offline

    megamichiel

    @VortexGmer
    Code:
    public PathfinderGoalArrowAttack(IRangedEntity entity, double d, int i0, int i1, float f)
    Code:
    new PathfinderGoalArrowAttack(this, 1.0D, 20, 60, 15.0F);
    The entity (must extend EntityLiving) is the entity
    I'm not sure about most paremeters, but I know the last one (float) is the follow range
     
    Shortninja66 likes this.
  3. Offline

    VortexGmer

    Thanks! I fiddle around with it. I am guessing the others are probably the arrow speed and delay?
     
  4. Offline

    megamichiel

Thread Status:
Not open for further replies.

Share This Page