Skip to content

Commit

Permalink
docs: add 在服务端运行仅客户端模组
Browse files Browse the repository at this point in the history
close #231
  • Loading branch information
zyxkad committed Mar 1, 2024
1 parent 26cf67d commit f7c4848
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/server/mods.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Mod 问题

## 在服务端运行仅客户端模组

解决方案:移除日志中指示的 Mod。例如下方的情况应该移除 distanthorizons。

```
[net.minecraftforge.fml.javafmlmod.FMLModContainer/LOADING]: Failed to create mod instance. ModID: distanthorizons, class com.seibel.distanthorizons.forge.ForgeMain
```

关键词:

```
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
```

## Fabric

### 模组问题
Expand Down

0 comments on commit f7c4848

Please sign in to comment.