Spigot DisableAI 1.1

Disable any entity AI gloablly. Reduce lag, disable useless Salmon and Cod AI!

  1. RandomUnknown submitted a new resource:

    DisableAI - Disable any entity AI gloablly. Reduce lag, remove Salmon and Cod AI!

    Read more about this resource...
     
  2. Can you add 1.12.2 support? Tyvm
     
  3. Does it work in 1.16.1?
     
  4. > [14:00:17 ERROR]: Error occurred while enabling DisableAI v1.1 (Is it up to date?)
    java.lang.IllegalArgumentException: No enum constant org.bukkit.entity.EntityType.SALMON
    at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_262]
    at org.bukkit.entity.EntityType.valueOf(EntityType.java:18) ~[Skyblock.jar:git-Paper-"5d8b3d49"]
    at com.rngservers.disableai.ai.AIManager.loadDisabledEntities(AIManager.java:43) ~[?:?]
    at com.rngservers.disableai.ai.AIManager.<init>(AIManager.java:18) ~[?:?]
    at com.rngservers.disableai.Main.onEnable(Main.java:11) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[Skyblock.jar:git-Paper-"5d8b3d49"]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:366) [PlugMan.jar:?]
    at com.rylinaux.plugman.command.LoadCommand.execute(LoadCommand.java:114) [PlugMan.jar:?]
    at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95) [PlugMan.jar:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:648) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:465) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:428) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:773) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [Skyblock.jar:git-Paper-"5d8b3d49"]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
     
  5. Hello, can I add detection TPS status to control AI? For example, when the TPS is less than 15, the AI of villagers will be weakened.