Implement Mob Goal API

This commit is contained in:
MiniDigger | Martin
2020-01-03 16:26:19 +01:00
parent f5cfd89975
commit 82290d3060
7 changed files with 765 additions and 0 deletions

View File

@ -2966,5 +2966,11 @@ public final class CraftServer implements Server {
public boolean isStopping() {
return net.minecraft.server.MinecraftServer.getServer().hasStopped();
}
private com.destroystokyo.paper.entity.ai.MobGoals mobGoals = new com.destroystokyo.paper.entity.ai.PaperMobGoals();
@Override
public com.destroystokyo.paper.entity.ai.MobGoals getMobGoals() {
return mobGoals;
}
// Paper end
}