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

@@ -2250,5 +2250,13 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
* @return true if server is in the process of being shutdown
*/
boolean isStopping();
/**
* Returns the {@link com.destroystokyo.paper.entity.ai.MobGoals} manager
*
* @return the mob goals manager
*/
@NotNull
com.destroystokyo.paper.entity.ai.MobGoals getMobGoals();
// Paper end
}