PathFinder custom pathfindergoal

Discussion in 'Plugin Development' started by hsndmrts98, Jan 23, 2016.

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

    hsndmrts98

    my code this:
    Code:
    float speed;
        Location targetLocation;
        EntityCreature entitycreature;
        private PathEntity path;
    
        public LOH_PF(EntityCreature entitycreature, float speed, Location target){
            this.speed = speed;
            this.entitycreature = entitycreature;
            this.targetLocation = target;
        }
       
        @Override
        public boolean a() {
            return false;
        }
       
        @Override
        public void c() {
            this.entitycreature.getNavigation().a(this.path, (double) this.speed);
        }
    i want make like this:

    pls help me
     
  2. Offline

    Zombie_Striker

    @hsndmrts98
    Can you explain what you want? What is currently happening? What have you tried to fix your problem?
     
  3. Offline

    87pen

    @hsndmrts98 If your question is why are they not moving. c() only fires after a() returns true.
     
  4. Offline

    hsndmrts98

    i coding a lol plugin like that video, but i stuck in custom mobs, i want attack to enemy tower minion champion but not attack to ally tower minion champion and jungle monster, how i make this i stuck in this, i have custom mobs, entity types but i cant moving and attacking not attacking spesific location and target, i need this.

    look to video in 3.35+
     
    Last edited: Jan 25, 2016
Thread Status:
Not open for further replies.

Share This Page