Examples of onReach()


Examples of net.citizensnpcs.waypoints.WaypointPath.onReach()

                        waypoints.setIndex(1);
                    }
                }
                if (waypoints.isStarted() && !npc.isPaused() && npc.getHandle().pathFinished()) {
                    waypoints.setStarted(false);
                    waypoints.onReach(npc);
                }
                break;
            default:
                if (!waypoints.isStarted()) {
                    waypoints.scheduleNext(npc);
View Full Code Here

Examples of net.citizensnpcs.waypoints.WaypointPath.onReach()

                    waypoints.scheduleNext(npc);
                }
                if (waypoints.isStarted() && !npc.isPaused() && npc.getHandle().pathFinished()) {
                    waypoints.setIndex(waypoints.currentIndex() + 1);
                    waypoints.setStarted(false);
                    waypoints.onReach(npc);
                }
        }
    }

    public static class RespawnTask implements Runnable {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.