get_mob_counts() crashes the server and has wrong documentation name
replaceitem opened this issue ยท 0 comments
When i execute the get_mob_counts()
function, the server crashes with this stacktrace:
02.10 18:53:11 [Server] Server thread/ERROR Encountered an unexpected exception
02.10 18:53:11 [Server] INFO java.lang.NoSuchMethodError: net.minecraft.class_1948$class_5262.method_27823()I
02.10 18:53:11 [Server] INFO at carpet.script.api.Monitoring.lambda$apply$1(Monitoring.java:33) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.script.Expression$10.lazyEval(Expression.java:333) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.script.Expression.lambda$getAST$8(Expression.java:682) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.script.Expression.evalValue(Expression.java:604) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.script.Expression.eval(Expression.java:597) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.script.Expression.eval(Expression.java:589) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.script.CarpetExpression.scriptRunCommand(CarpetExpression.java:108) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.commands.ScriptCommand.lambda$compute$61(ScriptCommand.java:462) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.commands.ScriptCommand.handleCall(ScriptCommand.java:400) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.commands.ScriptCommand.compute(ScriptCommand.java:460) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at carpet.commands.ScriptCommand.lambda$register$16(ScriptCommand.java:118) ~[fabric-carpet-1.16.3-1.4.12+v201001.jar:?]
02.10 18:53:11 [Server] INFO at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:262) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:176) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_2170.method_9249(class_2170.java:249) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_3244.method_14370(class_3244.java:1130) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_3244.method_12048(class_3244.java:1117) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_2797.method_12115(class_2797.java:36) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_2797.method_11054(class_2797.java:9) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_2600.method_11072(class_2600.java:21) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_3738.run(class_3738.java:18) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_1255.method_18859(class_1255.java:144) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:758) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:152) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_1255.method_16075(class_1255.java:118) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:740) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:734) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.class_1255.method_18857(class_1255.java:127) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:719) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.server.MinecraftServer.handler$zem000$modifiedRunLoop(MinecraftServer.java:2306) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:648) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:254) ~[intermediary-server.jar:?]
02.10 18:53:11 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
another thing i noticed is that in the docs, this function has a different name: