Add Mob Goal API

This commit is contained in:
MiniDigger | Martin
2020-01-03 16:24:46 +01:00
parent cb3bc4f15f
commit ef291e36d1
6 changed files with 199 additions and 0 deletions

View File

@@ -2584,6 +2584,16 @@ public final class Bukkit {
public static boolean isStopping() {
return server.isStopping();
}
/**
* Returns the {@link com.destroystokyo.paper.entity.ai.MobGoals} manager
*
* @return the mob goals manager
*/
@NotNull
public static com.destroystokyo.paper.entity.ai.MobGoals getMobGoals() {
return server.getMobGoals();
}
// Paper end
@NotNull