Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/GlobeMC/crashmc.com into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Aug 28, 2023
2 parents b9b7df9 + 5292d94 commit 03a03df
Show file tree
Hide file tree
Showing 6 changed files with 841 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"project": "./tsconfig.json",
"sourceType": "module",
"extraFileExtensions": [".vue"]
},
"plugins": ["@typescript-eslint", "eslint-plugin-prettier-vue"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended",
"plugin:prettier-vue/recommended",
"prettier"
],
"rules": {
"no-var": 0,
"prettier-vue/prettier": ["error"],
"vue/multi-word-component-names": "off",
},
"env": {
"browser": true
}
}
18 changes: 15 additions & 3 deletions docs/client/mods.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 模组问题
# Mod 问题

`Minecraft` 拥有庞大的玩家社区,也有许多的社区开发者制作 `Mod` 为原版游戏增加扩展内容及玩法,但同时这也导致了许许多多的问题,这里列出部分常见的 `Mod` 问题及解决方案。

Expand Down Expand Up @@ -393,7 +393,7 @@ which is missing!

在一般情况下,点击显示 `缺少前置库` 的 Mod 后,会打开该 Mod 的详情界面,在界面中会提示您该 Mod 所需要的前置。

![Liteloader-mod-01](https://cdn.crashmc.com/https://raw.githubusercontent.com/bingxin666/crashmc_pic/main/client/mods/liteloader-mod-02.png "提示缺少的前置库")
![Liteloader-mod-01](https://cdn.crashmc.com/https://raw.githubusercontent.com/GlobeMC/CrashMC_Pics/main/client/mods/liteloader-mod-02.png "提示缺少的前置库")

解决方案:

Expand Down Expand Up @@ -437,7 +437,19 @@ java.lang.NoSuchMethodError: net.minecraft.world.server.ChunkManager$ProxyTicket

解释:使用的 Forge 版本过高 / 过低 或 OptiFine 并未兼容该版本的 Forge,导致游戏崩溃。

解决方案:前往 [OptiFine 官网](https://optifine.net/downloads) ,按照提示安装对应的 Forge 版本。
解决方案:

:::tip

最近有很多因为 1.20.1 OptiFine_HD_U_I5 + Forge 47.1.43/47.1.44 导致的崩溃。

你可以先尝试将 OptiFine 版本升级至 HD_U_I6_pre6 版本,若不行再尝试下面的方案。

:::

前往 [OptiFine 官网](https://optifine.net/downloads) ,按照提示安装对应的 Forge 版本。

![示例](https://cdn.crashmc.com/https://raw.githubusercontent.com/GlobeMC/CrashMC_Pics/main/client/mods/optifine-mod.png)

提示:

Expand Down
20 changes: 20 additions & 0 deletions docs/client/system.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,16 @@ TO BE COLLECTED

## macOS 问题

### 在游戏版本为 1.20.x 中游戏路径包含非 ASCII 字符

```
[LWJGL] Failed to load a library. Possible solutions:
a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
b) Add the JAR that contains the shared library to the classpath.
```

解决方案:将游戏路径中的非 ASCII 字符去掉

### macOS 下存在 .DS_Store 文件导致报错

```
Expand Down Expand Up @@ -199,3 +209,13 @@ class io.github.reserveword.imblocker.IMBlocker$RegistryEvents
```

解决方案:删除 `IMBlocker` 模组(此模组仅适用于 Windows)

### 在游戏版本为 1.20.x 中游戏路径包含非 ASCII 字符

```
[LWJGL] Failed to load a library. Possible solutions:
a) Add the directory that contains the shared library to -Djava.library.path or -Dorg.lwjgl.librarypath.
b) Add the JAR that contains the shared library to the classpath.
```

解决方案:将游戏路径中的非 ASCII 字符去掉
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:format": "prettier --write ."
"docs:format": "prettier --write .",
"docs:lint": "eslint --ignore-path .gitignore --ext .ts,.vue \"docs/.vitepress/**/*.{ts,vue}\""
},
"name": "mccrash-docs",
"version": "0.0.0",
Expand All @@ -12,13 +13,19 @@
"type": "module",
"devDependencies": {
"@giscus/vue": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@vite-pwa/vitepress": "^0.2.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier-vue": "^4.2.0",
"eslint-plugin-vue": "^9.17.0",
"prettier": "^3.0.2",
"tslib": "^2.6.1",
"vite-plugin-pwa": "^0.16.4",
"vitepress": "1.0.0-rc.4",
"vitepress-plugin-comment-with-giscus": "^1.1.7",
"vue": "^3.3.4",
"vue-eslint-parser": "^9.3.1",
"workbox-window": "^7.0.0"
},
"keywords": [
Expand All @@ -31,6 +38,7 @@
"dependencies": {
"axios": "^1.4.0",
"directory-tree": "^3.5.1",
"jszip": "^3.10.1"
"jszip": "^3.10.1",
"typescript": "^5.1.6"
}
}
Loading

0 comments on commit 03a03df

Please sign in to comment.