普通人九日
本帖最后由 普通人九日 于 2022-12-25 16:01 编辑

纯核心生成完服务端 放进去后放出宝可梦进行对战就崩溃 下面是日志已经解决 java17更换成java8

---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 2022/12/25 下午2:24
Description: Exception in server tick loop

java.lang.ExceptionInInitializerError: null
        at com.pixelmonmod.pixelmon.battles.api.rules.clauses.BattleClauseRegistry.<clinit>(BattleClauseRegistry.java:46) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at com.pixelmonmod.pixelmon.battles.attacks.Attack.checkSkyBattle(Attack.java:1653) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.checkSkyBattleDisable(PixelmonWrapper.java:1583) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at com.pixelmonmod.pixelmon.battles.controller.participants.PixelmonWrapper.afterSwitch(PixelmonWrapper.java:1564) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at com.pixelmonmod.pixelmon.battles.controller.BattleController.lambda$initBattle$0(BattleController.java:292) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at com.pixelmonmod.pixelmon.battles.controller.BattleController.onUpdate(BattleController.java:991) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at com.pixelmonmod.pixelmon.battles.controller.BattleController.update(BattleController.java:437) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at com.pixelmonmod.pixelmon.battles.BattleRegistry.updateBattles(BattleRegistry.java:249) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at com.pixelmonmod.pixelmon.battles.BattleTickHandler.tickStart(BattleTickHandler.java:13) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        at net.minecraftforge.eventbus.ASMEventHandler_67_BattleTickHandler_tickStart_WorldTickEvent.invoke(.dynamic) ~[?:?] {}
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:303) ~[cat.jar:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[cat.jar:?] {}
        at net.minecraftforge.fml.hooks.BasicEventHooks.onPostWorldTick(BasicEventHooks.java:100) ~[forge:?] {re:classloading}
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1067) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:336) ~[?:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:944) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:777) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:265) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
        at java.lang.Thread.run(Thread.java:833) [?:?] {}
Caused by: java.util.NoSuchElementException: No value present
        at java.util.Optional.get(Optional.java:143) ~[?:?] {}
        at com.pixelmonmod.pixelmon.battles.api.rules.clauses.type.SkyBattleClause.<clinit>(SkyBattleClause.java:47) ~[pixelmon:1.16.5-9.1.0] {re:classloading}
        ... 20 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
        Minecraft Version: 1.16.5
        Minecraft Version ID: 1.16.5
        Operating System: Windows 10 (amd64) version 10.0
        Java Version: 17.0.5, Oracle Corporation
        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
        Memory: 4562370864 bytes (4351 MB) / 5368709120 bytes (5120 MB) up to 5368709120 bytes (5120 MB)
        CPUs: 8
        JVM Flags: 6 total; -Xms5G -Xmx5G -XX:+UseG1GC -XX:+OptimizeStringConcat -XX:MaxGCPauseMillis=10 -XX:+UseStringDeduplication
        ModLauncher: 8.1.3+8.1.3+main-8.1.x.c94d18ec
        ModLauncher launch target: fmlserver
        ModLauncher naming: srg
        ModLauncher services:
                /mixin-0.8.4.jar mixin PLUGINSERVICE
                /eventbus-4.0.0.jar eventbus PLUGINSERVICE
                /cat.jar object_holder_definalize PLUGINSERVICE
                /cat.jar runtime_enum_extender PLUGINSERVICE
                /cat.jar capability_inject_definalize PLUGINSERVICE
                /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE
                /cat.jar runtimedistcleaner PLUGINSERVICE
                /mixin-0.8.4.jar mixin TRANSFORMATIONSERVICE
                /cat.jar fml TRANSFORMATIONSERVICE
        FML: 36.2
        Forge: net.minecraftforge:36.2.39
        FML Language Providers:
                [email protected]
                minecraft@1
        Mod List:
                forge-1.16.5-36.2.39-server.jar                   |Minecraft                     |minecraft                     |1.16.5              |DONE      |Manifest: NOSIGNATURE
                forge-1.16.5-36.2.39-universal.jar                |Forge                         |forge                         |36.2.39             |DONE      |Manifest: NOSIGNATURE
                Pixelmon-1.16.5-9.1.0-server.jar                  |Pixelmon Mod                  |pixelmon                      |9.1.0               |DONE      |Manifest: NOSIGNATURE
        Crash Report UUID: a2f806e3-57bc-4a20-b0c2-e0872984f114
        CraftBukkit Information:
   Running: CatServer version 1.16.5-da9654d4 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT) true



名副其实
不用看了,宝可梦对战崩服。
这个补丁在MCBBS没有,你要到别的地方找。

fheat
名副其实 发表于 2022-12-25 14:52
不用看了,宝可梦对战崩服。
这个补丁在MCBBS没有,你要到别的地方找。

请问大佬那里有这个补丁呢

Qi_Shi_DI
请换java8