Skip to content

Commit 3a16234

Browse files
committed
更新PC的Java内容
1 parent 07193bf commit 3a16234

File tree

8 files changed

+107
-0
lines changed

8 files changed

+107
-0
lines changed

docs-pc/_category_.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"label": "Tutorial - Basics",
3+
"position": 2,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "5 minutes to learn the most important Docusaurus concepts."
7+
}
8+
}
9+

docs-pc/intro.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# Start On Minecraft Java
6+
7+
Minecraft Java Edition 作为存在时间最长的 Minecraft 版本,为电脑独占版本,人们通常说的“电脑版”也通常指的是 Java 版本。
8+
9+
:::tip
10+
11+
此篇开始,下文的 **Java** 均为 **Minecraft Java Edition** 版本的缩写。
12+
13+
:::
14+
15+
Java 版本由编程语言 Java 构建,这使得它在多个方面独具特色。
16+
17+
## Java 版的特点
18+
19+
- **跨主机平台性** :Java 版本能够在各种操作系统上运行,如 Windows、macOS 和 Linux 等。凭借 Java 的跨平台优势,只要在不同系统上安装合适的 Java 运行环境,玩家就可以畅玩 Java 版本的 Minecraft,使得不同系统用户能够较为便捷地共享游戏体验。
20+
- **模组支持丰富** :Java 版在模组方面有着无可比拟的丰富性。众多开发者利用 Java 编程语言为 Java 版创作了海量的模组(Mod)。这些模组可以极大地拓展游戏内容和玩法,比如增加新的方块、物品、生物,改变游戏机制,甚至可以打造全新的游戏模式,像有名的 **机械动力** *(Create)***暮色森林** *(The Twilight Forest)* 等等等等,只有你想不到,没有模组做不到的。
21+
- **多人游戏体验佳** :Java 版提供了较为成熟和灵活的多人游戏服务器架构。玩家可以轻松创建自己的私人服务器,邀请朋友一起联机创造和冒险,还能连接到各种公共服务器,体验不同风格的多人游戏社区。在服务器上,玩家可以参与大型的**团队建造**项目、参与激烈的 **PVP**(玩家对战)活动,还能体验独特的游戏插件带来的新玩法,如**经济系统****排行榜系统**等。
22+
23+
## Java 版的缺点
24+
25+
- **显而易见,你需要一台PC主机才可以游玩Java版。**
26+
- 并且PC的配置不能太垃圾,否则会有不好的游戏体验。
27+
28+
## Java 版游玩的要求
29+
30+
- 一台PC主机,**2005年后**的CPU,要求有**4GB**内存以上,**64GB**储存空间,核显/独立显卡
31+
- 一定的**动手能力**
32+
- 具备能够在**搜索引擎搜索内容的能力**
33+
34+
如果你都满足,就可以开始下一步的教程啦~
35+

docs-pc/preparation/_category_.json

Whitespace-only changes.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: 选择、下载和安装Java环境
3+
sidebar_position: 3
4+
---
5+
6+
# 选择、下载和安装Java环境
7+
8+
## 什么是Java?
9+
10+
Java 环境对 Minecraft 来说至关重要,是其运行的基础。因为 Minecraft 是基于 Java 编程语言开发的,有了合适的 Java 环境,游戏才能顺利启动和正常运行,同时也能更好地支持各种模组的安装与使用,为玩家带来更丰富的游戏体验。
11+
12+
## Java有哪些?
13+
14+
import Tabs from '@theme/Tabs';
15+
import TabItem from '@theme/TabItem';
16+
17+
<Tabs>
18+
<TabItem value="apple" label="Apple" default>
19+
This is an apple 🍎
20+
</TabItem>
21+
<TabItem value="orange" label="Orange">
22+
This is an orange 🍊
23+
</TabItem>
24+
<TabItem value="banana" label="Banana">
25+
This is a banana 🍌
26+
</TabItem>
27+
</Tabs>

docs-pc/preparation/preparation.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: 开始阶段
3+
slug: /start
4+
sidebar_position: 3
5+
---
6+
7+
# 准备阶段
8+
9+
在这个阶段,我们主要为你介绍Minecraft客户端运行的基本逻辑,基本环境和基本的教程,帮助你快速启动你的第一个Minecraft客户端。
10+
11+
import DocCardList from '@theme/DocCardList';
12+
13+
<DocCardList />

docusaurus.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,18 @@ const config = {
3434

3535
plugins: [
3636
'docusaurus-plugin-image-zoom',
37+
[
38+
'@docusaurus/plugin-content-docs',
39+
{
40+
id: 'docs-pc',
41+
path: 'docs-pc',
42+
routeBasePath: 'PC',
43+
editUrl: 'https://github.com/Moralts/BukuWiki/tree/main/docs-java'
44+
sidebarPath: './sidebars.js',
45+
editCurrentVersion: true,
46+
showLastUpdateAuthor: true,
47+
showLastUpdateTime: true,
48+
}],
3749
],
3850

3951
presets: [
@@ -80,6 +92,13 @@ const config = {
8092
position: 'left',
8193
label: '通用',
8294
},
95+
{
96+
type: 'docSidebar',
97+
sidebarId: 'tutorialSidebar',
98+
position: 'left',
99+
label: 'PC',
100+
docsPluginId: 'docs-pc'
101+
},
83102
{
84103
href: 'https://github.com/Moralts/BukuWiki',
85104
label: 'GitHub',

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
},
1616
"dependencies": {
1717
"@docusaurus/core": "3.7.0",
18+
"@docusaurus/plugin-content-docs": "^3.7.0",
1819
"@docusaurus/preset-classic": "3.7.0",
1920
"@mdx-js/react": "^3.0.0",
2021
"clsx": "^2.0.0",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)