问题描述:有一名玩家加入服务器后会立刻崩服,如果将这名玩家的数据回档,玩十几分钟后还是会崩服。其他玩家加入服务器没有这种情况。
服务器配置:3核8G,CPU型号 7502 EPYC,服务器分配内存6GB
服务端信息:1.20.1 Fabric 0.16.4
尝试如下方法修复无果:
玩家重装客户端,删除日志中提示报错的布罗艾玩偶和葡萄酒mod,将Fabric0.16.0升级成Fabric0.16.4
日志信息如下:
[22:32:57] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.16.14
[22:32:58] [ForkJoinPool-1-worker-2/WARN]: Mod ends_delight uses the version refabricated-1.20.1-2.5 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'refabricated'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[22:32:58] [ForkJoinPool-1-worker-3/WARN]: Mod totw_modded uses the version fabric-1.20.1-1.0.6 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'fabric'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[22:32:58] [main/INFO]: Loading 193 mods:
...此处省略mod列表
[22:34:21] [FTB Backups scheduled executor 0/INFO]: More backups than 5 found, Removing oldest backup
[22:34:21] [FTB Backups scheduled executor 0/INFO]: Removed old backup 2025-5-2_13-30-0.zip
[22:34:21] [FTB Backups scheduled executor 0/INFO]: File missing, removing from backups D:\Windows\Desktop\服务端文件夹\backups\2025-5-2_13-30-0.zip
[22:34:21] [FTB Backups scheduled executor 0/INFO]: Writing to file D:\Windows\Desktop\新服务端文件夹\backups\backups.json
[22:34:23] [Server thread/WARN]: Lithium Class Analysis Error: Class twilightforest.block.CloudBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_638. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
[22:34:23] [Server thread/WARN]: Lithium Class Analysis Error: Class twilightforest.block.CloudBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_638. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
[22:37:00] [Server thread/INFO]: qibentianxianyu[/39.178.35.27:65121] logged in with entity id 999 at (8312.040310622298, 160.0, 8562.499936594115)
[22:37:00] [Server thread/INFO]: Syncing config to qibentianxianyu (0ddafd47-61e9-3fbc-95ad-560d5a55e298)
[22:37:00] [Server thread/INFO]: [betternether] Freeze Registry[ResourceKey[minecraft:root / worlds_together:worldgen/betterx/surface_rules] (Stable)]
[22:37:00] [Server thread/INFO]: qibentianxianyu joined the game
[22:37:00] [Server thread/WARN]: Lithium Class Analysis Error: Class org.betterx.bclib.blocks.BaseBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_793. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
[22:37:02] [Server thread/INFO]: [bclib] Received Hello from Client. (server=3.0.14, client=3.0.14)
[22:37:02] [Server thread/INFO]: [bclib] Sending Hello to Client. (server=3.0.14)
[22:37:02] [Server thread/INFO]: [bclib] - Listing Mod bclib v3.0.14 (size: 2.2 MiB, download=true)
[22:37:02] [Server thread/INFO]: [bclib] - Listing Mod betternether v9.0.10 (size: 21.9 MiB, download=true)
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.main
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.generator
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.blocks
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.items
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.biomes
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.mobs
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_bclib.generator
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_bclib.main
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_bclib.biomes
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betterend.entities
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betterend.blocks
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betterend.items
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betterend.enchantments
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_edenring.items
[22:37:02] [Server thread/INFO]: [bclib] - Offering Folder D:\Windows\Desktop\新服务端文件夹\bclib-sync (allowDelete=true)
[22:38:49] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.class_148: Exception ticking world
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:901) ~[server-intermediary.jar:?]
at net.minecraft.class_3176.method_3813(class_3176.java:283) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "dev.shadowsoffire.apotheosis.adventure.boss.ApothBoss.createBoss(net.minecraft.class_5425, net.minecraft.class_2338, net.minecraft.class_5819, float)" because "item" is null
at dev.shadowsoffire.apotheosis.adventure.boss.BossEvents.naturalBosses(BossEvents.java:86) ~[zenith-1.2.4-1.20.1.jar:?]
at dev.shadowsoffire.apotheosis.adventure.boss.BossEvents.lambda$init$0(BossEvents.java:53) ~[zenith-1.2.4-1.20.1.jar:?]
at net.minecraft.class_1948.redirect$zha000$architectury$overrideNaturalSpawnCondition(class_1948.java:1170) ~[server-intermediary.jar:?]
at net.minecraft.class_1948.method_24930(class_1948.java:292) ~[server-intermediary.jar:?]
at net.minecraft.class_1948.method_8663(class_1948.java:213) ~[server-intermediary.jar:?]
at net.minecraft.class_1948.method_27821(class_1948.java:201) ~[server-intermediary.jar:?]
at net.minecraft.class_3215.method_14161(class_3215.java:379) ~[server-intermediary.jar:?]
at net.minecraft.class_3215.method_12127(class_3215.java:326) ~[server-intermediary.jar:?]
at net.minecraft.class_3218.method_18765(class_3218.java:333) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) ~[server-intermediary.jar:?]
... 5 more
[22:38:49] [Server thread/ERROR]: This crash report has been saved to: D:\Windows\Desktop\新服务端文件夹\.\crash-reports\crash-2025-05-02_22.38.49-server.txt
[22:38:49] [Server thread/INFO]: Shutdown Complete
[22:38:49] [Server thread/INFO]: Stopping server
[22:38:49] [Server thread/INFO]: Saving players
[22:38:49] [Server thread/INFO]: CTPL lost connection: Server closed
[22:38:49] [Server thread/INFO]: CTPL left the game
[22:38:49] [Server thread/INFO]: Saving worlds
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/edenring:edenring
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/twilightforest:twilight_forest
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (edenring): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (twilight_forest): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
服务器配置:3核8G,CPU型号 7502 EPYC,服务器分配内存6GB
服务端信息:1.20.1 Fabric 0.16.4
尝试如下方法修复无果:
玩家重装客户端,删除日志中提示报错的布罗艾玩偶和葡萄酒mod,将Fabric0.16.0升级成Fabric0.16.4
日志信息如下:
[22:32:57] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.16.14
[22:32:58] [ForkJoinPool-1-worker-2/WARN]: Mod ends_delight uses the version refabricated-1.20.1-2.5 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'refabricated'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[22:32:58] [ForkJoinPool-1-worker-3/WARN]: Mod totw_modded uses the version fabric-1.20.1-1.0.6 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'fabric'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[22:32:58] [main/INFO]: Loading 193 mods:
...此处省略mod列表
[22:34:21] [FTB Backups scheduled executor 0/INFO]: More backups than 5 found, Removing oldest backup
[22:34:21] [FTB Backups scheduled executor 0/INFO]: Removed old backup 2025-5-2_13-30-0.zip
[22:34:21] [FTB Backups scheduled executor 0/INFO]: File missing, removing from backups D:\Windows\Desktop\服务端文件夹\backups\2025-5-2_13-30-0.zip
[22:34:21] [FTB Backups scheduled executor 0/INFO]: Writing to file D:\Windows\Desktop\新服务端文件夹\backups\backups.json
[22:34:23] [Server thread/WARN]: Lithium Class Analysis Error: Class twilightforest.block.CloudBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_638. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
[22:34:23] [Server thread/WARN]: Lithium Class Analysis Error: Class twilightforest.block.CloudBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_638. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
[22:37:00] [Server thread/INFO]: qibentianxianyu[/39.178.35.27:65121] logged in with entity id 999 at (8312.040310622298, 160.0, 8562.499936594115)
[22:37:00] [Server thread/INFO]: Syncing config to qibentianxianyu (0ddafd47-61e9-3fbc-95ad-560d5a55e298)
[22:37:00] [Server thread/INFO]: [betternether] Freeze Registry[ResourceKey[minecraft:root / worlds_together:worldgen/betterx/surface_rules] (Stable)]
[22:37:00] [Server thread/INFO]: qibentianxianyu joined the game
[22:37:00] [Server thread/WARN]: Lithium Class Analysis Error: Class org.betterx.bclib.blocks.BaseBlock cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_793. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
[22:37:02] [Server thread/INFO]: [bclib] Received Hello from Client. (server=3.0.14, client=3.0.14)
[22:37:02] [Server thread/INFO]: [bclib] Sending Hello to Client. (server=3.0.14)
[22:37:02] [Server thread/INFO]: [bclib] - Listing Mod bclib v3.0.14 (size: 2.2 MiB, download=true)
[22:37:02] [Server thread/INFO]: [bclib] - Listing Mod betternether v9.0.10 (size: 21.9 MiB, download=true)
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.main
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.generator
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.blocks
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.items
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.biomes
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betternether.mobs
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_bclib.generator
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_bclib.main
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_bclib.biomes
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betterend.entities
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betterend.blocks
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betterend.items
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_betterend.enchantments
[22:37:02] [Server thread/INFO]: [bclib] - Offering Config bclib.CONFIG_edenring.items
[22:37:02] [Server thread/INFO]: [bclib] - Offering Folder D:\Windows\Desktop\新服务端文件夹\bclib-sync (allowDelete=true)
[22:38:49] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.class_148: Exception ticking world
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:901) ~[server-intermediary.jar:?]
at net.minecraft.class_3176.method_3813(class_3176.java:283) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Unknown Source) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "dev.shadowsoffire.apotheosis.adventure.boss.ApothBoss.createBoss(net.minecraft.class_5425, net.minecraft.class_2338, net.minecraft.class_5819, float)" because "item" is null
at dev.shadowsoffire.apotheosis.adventure.boss.BossEvents.naturalBosses(BossEvents.java:86) ~[zenith-1.2.4-1.20.1.jar:?]
at dev.shadowsoffire.apotheosis.adventure.boss.BossEvents.lambda$init$0(BossEvents.java:53) ~[zenith-1.2.4-1.20.1.jar:?]
at net.minecraft.class_1948.redirect$zha000$architectury$overrideNaturalSpawnCondition(class_1948.java:1170) ~[server-intermediary.jar:?]
at net.minecraft.class_1948.method_24930(class_1948.java:292) ~[server-intermediary.jar:?]
at net.minecraft.class_1948.method_8663(class_1948.java:213) ~[server-intermediary.jar:?]
at net.minecraft.class_1948.method_27821(class_1948.java:201) ~[server-intermediary.jar:?]
at net.minecraft.class_3215.method_14161(class_3215.java:379) ~[server-intermediary.jar:?]
at net.minecraft.class_3215.method_12127(class_3215.java:326) ~[server-intermediary.jar:?]
at net.minecraft.class_3218.method_18765(class_3218.java:333) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897) ~[server-intermediary.jar:?]
... 5 more
[22:38:49] [Server thread/ERROR]: This crash report has been saved to: D:\Windows\Desktop\新服务端文件夹\.\crash-reports\crash-2025-05-02_22.38.49-server.txt
[22:38:49] [Server thread/INFO]: Shutdown Complete
[22:38:49] [Server thread/INFO]: Stopping server
[22:38:49] [Server thread/INFO]: Saving players
[22:38:49] [Server thread/INFO]: CTPL lost connection: Server closed
[22:38:49] [Server thread/INFO]: CTPL left the game
[22:38:49] [Server thread/INFO]: Saving worlds
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/edenring:edenring
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/twilightforest:twilight_forest
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[22:38:50] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (edenring): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (twilight_forest): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[22:38:50] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved










