neural networks fully set up for velocity
This commit is contained in:
@@ -48,16 +48,11 @@ public abstract class Agent {
|
||||
}
|
||||
|
||||
public void stopAllTasks() {
|
||||
taskList.forEach(t -> {
|
||||
if (!t.isCancelled()) {
|
||||
t.cancel();
|
||||
}
|
||||
});
|
||||
taskList.stream().filter(t -> !t.isCancelled()).forEach(BukkitRunnable::cancel);
|
||||
taskList.clear();
|
||||
}
|
||||
|
||||
protected abstract void tick();
|
||||
|
||||
public void onFallDamage(BotFallDamageEvent event) {
|
||||
}
|
||||
public void onFallDamage(BotFallDamageEvent event) { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user