Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70f7bff421 | ||
|
|
f9c173c966 | ||
|
|
fb73b21a6f | ||
|
|
8a6d2ba0f4 | ||
|
|
6de3910088 | ||
|
|
a5028d9287 | ||
|
|
6a671e7ed4 | ||
|
|
619fee079c | ||
|
|
24c0fb9271 | ||
|
|
9ad65b2be1 | ||
|
|
bf9a583b06 | ||
|
|
c33cd265ae | ||
|
|
f7501c8a7a | ||
|
|
e4f3ea3f7f | ||
|
|
a4a49199d4 | ||
|
|
1fea3bd693 | ||
|
|
b7f85448d6 | ||
|
|
0e451e479f | ||
|
|
7d977e27e0 | ||
|
|
e8ffa31864 | ||
|
|
71091ccfeb | ||
|
|
65945084ef | ||
|
|
8cf9670310 | ||
|
|
ba72b65dc4 | ||
|
|
4bee147b1a | ||
|
|
6fd505078b | ||
|
|
2c16db95fc | ||
|
|
45aa8525e5 | ||
|
|
ae33206642 | ||
|
|
b5ff8445ca | ||
|
|
007633e309 | ||
|
|
2233c0b9ae | ||
|
|
29beda8574 | ||
|
|
c14ab8bd1a | ||
|
|
297a466e99 | ||
|
|
0489ff8de3 | ||
|
|
a22afd568a | ||
|
|
872ee5fd0f | ||
|
|
e9d003d49e | ||
|
|
fae7492701 | ||
|
|
d0ad9547a4 | ||
|
|
b39432dbc5 | ||
|
|
ea5ca354cd | ||
|
|
c0bae6b982 | ||
|
|
5576ed7603 | ||
|
|
7b938f3d6f | ||
|
|
73f4205cb1 | ||
|
|
2664c2cffa | ||
|
|
8513383869 | ||
|
|
bb453f2464 | ||
|
|
3b8065cc45 | ||
|
|
490576b90e | ||
|
|
8801dc05d7 | ||
|
|
ad561f2bd7 | ||
|
|
1993e1e54a | ||
|
|
1db96bd304 | ||
|
|
1ceb502965 | ||
|
|
a08c45ca04 | ||
|
|
b5af1fcce5 | ||
|
|
fccba4d6e0 |
No files matched your search
@@ -0,0 +1,12 @@
|
||||
name: JSON check
|
||||
run-name: JSON check
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: json-syntax-check
|
||||
uses: limitusus/json-syntax-check@v2
|
||||
with:
|
||||
pattern: "\\.json$"
|
||||
@@ -0,0 +1,10 @@
|
||||
name: Check yaml
|
||||
run-name: Check yaml
|
||||
on: [push, pull_request] # yamllint disable-line rule:truthy
|
||||
jobs:
|
||||
lintAllTheThings:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: yaml-lint
|
||||
uses: ibiqlik/action-yamllint@v3
|
||||
+4
-4
@@ -4,14 +4,14 @@
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
|
||||
Text="电脑蓝屏、死机重启等情况下,游戏存档可能会损坏,如果损坏请按照以下步骤操作:"/>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
|
||||
Text="1. 打开损坏存档的文件夹,在对应版本的“版本设置” → “打开版本文件夹”后找到 saves 文件夹并进入。"/>
|
||||
Text="1. 点击对应版本的“版本设置” → “存档文件夹”后打开 saves 文件夹。"/>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
|
||||
Text="2. 进入损坏存档,删除“level.dat”文件。"/>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
|
||||
Text="3. 找到“level.dat_old”,并重命名,将后缀 “_old”删除。 "/>
|
||||
Text="3. 找到“level.dat_old”,并右键重命名,将后缀 “_old” 部分删除。 "/>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
|
||||
Text="此时进入游戏将恢复存档,但注意的是:每次进入游戏都会自动备份存档为 level.dat_old 文件,所以使用此文档会回档到未损坏之前的存档 。"/>
|
||||
<local:MyHint Text="如果没有显示后缀,请将显示文件扩展名打开即可 
 Win7:资源管理器(我的电脑) → 组织 → 文件夹和搜索选项 → 查看 → 勾选“显示已知文件的扩展名” 
 Win10、Win11:资源管理器(此电脑)->查看->勾选“文件扩展名”" />
|
||||
<local:MyHint Text="如果没有显示后缀,请将显示文件扩展名打开即可 
 Win7:资源管理器(我的电脑) → 组织 → 文件夹和搜索选项 → 查看 → 勾选“显示已知文件的扩展名” 
 Win10、Win11:资源管理器(此电脑) → 查看 → 勾选“文件扩展名” " IsWarn="False" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:XiaoFans" IsWarn="False" />
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:XiaoFans" IsWarn="False" />
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"__author__": "Big_Cake、Logic_530、RawDiamondMC",
|
||||
"__author__": "Big_Cake、Logic_530、RawDiamondMC、风释清然SC",
|
||||
"Title": "安装 Mod",
|
||||
"Description": "下载、导入 Minecraft Mod(模组)",
|
||||
"Types": ["Minecraft"]
|
||||
|
||||
+31
-15
@@ -7,6 +7,7 @@
|
||||
<TextBlock TextWrapping="Wrap" LineHeight="17" Text="Mod 是由 Minecraft 社区的部分玩家制作的游戏补丁,能够为 Minecraft 添加更多的内容,例如更多工具、方块、生物、世界以及新的玩法与机制等。"/>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="如何选择 Mod 加载器?" Margin="0,0,0,15">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17" Text="Mod 加载器是 Minecraft 安装 Mod 的必要前置条件,要想安装 Mod 必须先安装 Mod 加载器,目前主流的 Mod 加载器有 Forge、Fabric 和 Quilt 三种,而它们不能同时安装。"/>
|
||||
@@ -14,6 +15,7 @@
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17" Text="一些 Mod 仅支持其中一种加载器,因此你需要试着去搜索其它加载器下有没有类似的 Mod 可以当作替代品。Quilt 兼容部分 Fabric 的 Mod,但是 Fabric 不兼容 Quilt 的 Mod。Forge 与 Fabric 不兼容,Liteloader 与 Forge 兼容。"/>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="安装 Mod 加载器 - Forge" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
|
||||
@@ -25,6 +27,7 @@
|
||||
<local:MyHint Margin="0,0,0,15" IsWarn="False" Text="一般来说,只需要选择最新版或推荐版的 Forge 即可。仅在出现 Mod 或服务器等兼容问题时,玩家需要遵循相关指示选择特定的版本。"/>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="安装 Mod 加载器 - Fabric" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17"
|
||||
@@ -40,22 +43,35 @@
|
||||
<local:MyHint Margin="0,0,0,15" IsWarn="False" Text="一般来说,只需要选择最新版本的 Fabric 和 Fabric API 即可。仅在出现 Mod 或服务器等兼容问题时,玩家需要遵循相关指示选择特定的版本。"/>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
<!-- 等龙猫做出来自动安装Quilt以后在这里加一条”安装 Mod 加载器 - Quilt” -->
|
||||
<local:MyCard Title="下载并安装 Mod(CurseForge)" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
|
||||
<local:MyCard Title="下载并安装 Mod(CurseForge 和 Modrinth)" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17" Text="PCL2 内置从 CurseForge 下载 Mod 的功能,可以免去从网页下载的种种麻烦。"/>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17" Text="点击启动器顶部的"下载"按钮,再点击左侧菜单栏中的"Mod",即可打开 Mod 下载界面。"/>
|
||||
<Image HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/25/6/mod_search.png" />
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17" Text="CurseForge 提供了多种搜索 Mod 的方式,玩家可以根据名称、类型或游戏版本搜索 Mod。"/>
|
||||
<local:MyHint Margin="0,0,0,15" Text="由于 CurseForge 是一个英文网站,搜索时请尽量使用 Mod 的英文名称。" IsWarn="False" />
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17" Text="搜索完成后,点击想要下载的 Mod 可以打开此 Mod 的页面,玩家可以在此选择需要下载的版本。如当前 Mod 有需要的前置 Mod ,PCL2 也会在此显示。"/>
|
||||
<Image HorizontalAlignment="Center" Source="https://resources.cakeskin.tk/file/pcl2-image/mods/mod%20version.png" />
|
||||
<local:MyHint Margin="0,0,0,15" Text="选择版本时,请注意选择与 Minecraft 版本、Mod 加载器匹配的 Mod 版本,PCL2 会在 Mod 版本名称下显示对应的 Minecraft 版本和该 Mod 支持的加载器。" IsWarn="False" />
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17" Text="点击需要的 Mod 版本即可开始下载,PCL2 默认将 Mod 下载至启动器主页面选中的游戏版本中,下载完成后即可在此版本中使用下载的 Mod。如有需要,也可在下载对话框中更改下载位置。"/>
|
||||
<local:MyHint Margin="0,0,0,15" Text="如果启动器主页面选中的游戏版本不能安装 Mod 则默认下载至 此电脑-文档 目录下。" IsWarn="False" />
|
||||
</StackPanel>
|
||||
<Grid>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="1. 在 PCL2 中点击 “下载” 按钮,并选择左侧菜单 “资源” 分类下的 “Mod” 选项。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/04/09/6432ac09a99e8.png?comment=Mod下载页面" />
|
||||
</Grid>
|
||||
|
||||
<local:MyHint Margin="0,20,0,0" Text="搜索时请尽量使用 Mod 的英文名称。" IsWarn="False" />
|
||||
<Grid Margin="0,10,0,0">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="2. 在左侧页面中通过选择或输入您所需 Mod 的名称、类型、来源、游戏版本及其需要的加载器类型以筛选并搜索整合包。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/04/09/6432ac35f0f42.png?comment=Mod搜索筛选选项" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="3. 选择一个 Mod。本教程使用 "Waystones" 为范例。当您想要安装 Mod 需要安装前置时,点击 “前置 Mod” 字样下方列出的 Mod,并下载与您游戏版本和模组加载器版本兼容的前置 Mod 版本。完成后,点击返回按钮,并下载与您游戏版本和模组加载器版本兼容的 Mod 版本。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/04/09/6432ac1f0507d.png?comment=下载含前置的Mod" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4"
|
||||
Text="4. 回到主页面,点击“版本设置”,选择左侧菜单栏中的 “Mod 管理” 选项,您会看到您刚刚下载的 Mod。"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
<!-- 等龙猫做出来MR下载以后在这里加一条”下载并安装 Mod(Modrinth) -->
|
||||
|
||||
<local:MyCard Title="下载并安装 Mod(Mod 文件)" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4" LineHeight="17" Text="虽然 PCL2 内置的 CurseForge 下载功能可以满足大部分安装 Mod 的需求,但在很多情况下玩家仍需通过 Mod 文件的方式来安装 Mod。" />
|
||||
@@ -70,4 +86,4 @@
|
||||
<local:MyHint Margin="0,0,0,15" Text="在从网站下载 Mod 时,玩家需要注意下载的 Mod 是否与自己的游戏版本以及 Mod 加载器匹配。" IsWarn="False" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:Big_Cake、Logic_530、WTP016、RawDiamondMC" IsWarn="False" />
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:Big_Cake、Logic_530、WTP016、RawDiamondMC、风释清然SC" IsWarn="False" />
|
||||
+83
-47
@@ -12,67 +12,103 @@
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="问题解决方案" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,11">
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="1. 在任务栏上找到对应网络状态的图标,右键点击此图标后点击"网络和 Internet 设置"。" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Taskbar.NI.Settings.png" />
|
||||
<local:MyCard Title="第一种问题解决方案" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<Grid>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="1. 在任务栏上找到对应网络状态的图标,右键点击此图标后点击"网络和 Internet 设置"。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Taskbar.NI.Settings.png" />
|
||||
</Grid>
|
||||
<!-- 更改适配器设置 -->
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="2. Win10: 转到"状态"页面并点击"更改适配器设置"。
 Win11: 点击"高级网络设置"后点击下方的"更多网络适配器选项"。" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/25/6/Adopt_Settings.png" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Win11.Settings.NW.SPQ.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="2. Win10: 转到"状态"页面并点击"更改适配器设置"。
 Win11: 点击"高级网络设置"后点击下方的"更多网络适配器选项"。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/25/6/Adopt_Settings.png" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Win11.Settings.NW.SPQ.png" />
|
||||
</Grid>
|
||||
<!-- 右键点击你的连接 点击属性 -->
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="3. 右键点击您目前正在连接的网络(一般为"以太网"或"WLAN"),点击属性。" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/4R.png" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/25/6/Network_Settings.png" />
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="4. 双击“Internet 协议版本 4 (TCP/IPv4)”,点击使用下面的 DNS 服务器地址,在“首选 DNS 服务器”内填写“223.5.5.5”,在“备用 DNS 服务器”内填写“223.6.6.6”,您也可选择其他国内知名 DNS 提供商提供的 DNS (如 DNSPod)。保存后按住键盘上的 Windows 键 + R 键,输入“ipconfig /flushdns”以刷新 DNS 缓存,接着再次进入 PCL2 启动游戏即可正常登录。" />
|
||||
<!-- 此处原 DNS 为微软公用 DNS,鉴于此 DNS 在中国大陆内使用情况不佳,更改为阿里云 DNS -->
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/ControlPanel.DNS.Settings.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="3. 右键点击您目前正在连接的网络(一般为"以太网"或"WLAN"),点击属性。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/4R.png" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/25/6/Network_Settings.png" />
|
||||
</Grid>
|
||||
|
||||
<local:MyHint Margin="0,20,0,0" Text="您也可选择其他国内知名 DNS 提供商提供的 DNS (如 DNSPod)。" IsWarn="False" />
|
||||
<Grid Margin="0,10,0,0">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="4. 双击“Internet 协议版本 4 (TCP/IPv4)”,点击使用下面的 DNS 服务器地址,在“首选 DNS 服务器”内填写“223.5.5.5”,在“备用 DNS 服务器”内填写“223.6.6.6”并保存。" HorizontalAlignment="Left" />
|
||||
<!-- 此处原 DNS 为微软公用 DNS,鉴于此 DNS 在中国大陆内使用情况不佳,更改为阿里云 DNS -->
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/ControlPanel.DNS.Settings.png" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4"
|
||||
Text="5. 按住键盘上的 Windows 键 + R 键,输入“ipconfig /flushdns”以刷新 DNS 缓存,接着再次进入 PCL2 启动游戏即可正常登录。" />
|
||||
</Grid>
|
||||
<local:MyButton MinWidth="170" Height="35" Padding="10,0" Margin="0,5,20,8" HorizontalAlignment="Left"
|
||||
Text="复制 ipconfig /flushdns 命令" EventType="复制文本" EventData="ipconfig /flushdns" />
|
||||
Text="复制 ipconfig /flushdns 命令" EventType="复制文本" EventData="ipconfig /flushdns" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<!-- 第二种问题解决方案 -->
|
||||
<local:MyCard Title="第二种问题解决方案" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,11">
|
||||
<local:MyCard Title="第二种问题解决方案" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<!-- 此处我存疑,部分台式电脑无无线局域网功能 -->
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="1. 打开手机的移动热点功能,电脑连接热点。" />
|
||||
<Grid>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4"
|
||||
Text="1. 打开手机的移动热点功能,电脑连接热点。"/>
|
||||
</Grid>
|
||||
<!-- win+R,打开运行界面,输入services.msc进入服务 -->
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="2. 按下键盘上的 Windows + R 键,打开运行界面,输入 services.msc 打开服务管理程序。" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/10.Service.png" />
|
||||
<local:MyButton MinWidth="170" Height="35" Padding="10,0" Margin="0,5,20,8" HorizontalAlignment="Left"
|
||||
Text="复制 services.msc 命令" EventType="复制文本" EventData="services.msc" />
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="2. 按下键盘上的 Windows + R 键,打开运行界面,输入 services.msc 打开服务管理程序。" HorizontalAlignment="Left" />
|
||||
<local:MyButton MinWidth="170" Height="35" Padding="10,0" Margin="0,5,20,8" HorizontalAlignment="Left"
|
||||
Text="复制 services.msc 命令" EventType="复制文本" EventData="services.msc" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/10.Service.png" />
|
||||
</Grid>
|
||||
<!-- 功能开启 -->
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="3. 找到"Microsoft (R) 诊断中心标准收集器服务",右键点击属性,改成手动,开启服务。" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/11.Microsoft(R).png" />
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="4. 在任务栏上找到对应网络状态的图标,右键点击此图标后"网络和 Internet 设置"。" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/Taskbar.NI.Settings.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="3. 找到"Microsoft (R) 诊断中心标准收集器服务",右键点击属性,改成手动,开启服务。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/11.Microsoft(R).png" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="4. 在任务栏上找到对应网络状态的图标,右键点击此图标后"网络和 Internet 设置"。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/Taskbar.NI.Settings.png" />
|
||||
</Grid>
|
||||
<!-- 更改适配器设置 -->
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="5. Win10: 转到 WLAN 页面并点击"更改适配器设置"(在右边或者下边)。
 Win11: 点击"高级网络设置"后点击下方的"更多网络适配器选项"。" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/3.WALN.png" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/Win11.Settings.NW.SPQ.png" />
|
||||
<Grid Margin="0,10,0,0">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="2. Win10: 转到"状态"页面并点击"更改适配器设置"。
 Win11: 点击"高级网络设置"后点击下方的"更多网络适配器选项"。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/25/6/Adopt_Settings.png" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Win11.Settings.NW.SPQ.png" />
|
||||
</Grid>
|
||||
<!-- 右键点击你的连接 点击属性 -->
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="6. 右键选择你的连接,点击属性。" />
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/4R.png" />
|
||||
<TextBlock Margin="0,10,0,2" LineHeight="17"
|
||||
Text="7. 双击“Internet 协议版本 4 (TCP/IPv4)”,点击使用下面的 DNS 服务器地址,在“首选 DNS 服务器”内填写“223.5.5.5”,在“备用 DNS 服务器”内填写“223.6.6.6”,您也可选择其他国内知名 DNS 提供商提供的 DNS (如 DNSPod)。保存后按住键盘上的 Windows 键 + R 键,输入“ipconfig /flushdns”以刷新 DNS 缓存,接着再次进入 PCL2 启动游戏即可正常登录。" />
|
||||
<!-- 此处原 DNS 为微软公用 DNS,鉴于此 DNS 在中国大陆内使用情况不佳,更改为阿里云 DNS -->
|
||||
<Image HorizontalAlignment="Center" Margin="50,15,50,0" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/ControlPanel.DNS.Settings.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="3. 右键点击您目前正在连接的网络(一般为"以太网"或"WLAN"),点击属性。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/4R.png" />
|
||||
</Grid>
|
||||
|
||||
<local:MyHint Margin="0,20,0,0" Text="您也可选择其他国内知名 DNS 提供商提供的 DNS (如 DNSPod)。" IsWarn="False" />
|
||||
<Grid Margin="0,10,0,0">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="4. 双击“Internet 协议版本 4 (TCP/IPv4)”,点击使用下面的 DNS 服务器地址,在“首选 DNS 服务器”内填写“223.5.5.5”,在“备用 DNS 服务器”内填写“223.6.6.6”并保存。" HorizontalAlignment="Left" />
|
||||
<!-- 此处原 DNS 为微软公用 DNS,鉴于此 DNS 在中国大陆内使用情况不佳,更改为阿里云 DNS -->
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/ControlPanel.DNS.Settings.png" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4"
|
||||
Text="5. 按住键盘上的 Windows 键 + R 键,输入“ipconfig /flushdns”以刷新 DNS 缓存,接着再次进入 PCL2 启动游戏即可正常登录。" />
|
||||
</Grid>
|
||||
<local:MyButton MinWidth="170" Height="35" Padding="10,0" Margin="0,5,20,8" HorizontalAlignment="Left"
|
||||
Text="复制 ipconfig /flushdns 命令" EventType="复制文本" EventData="ipconfig /flushdns" />
|
||||
Text="复制 ipconfig /flushdns 命令" EventType="复制文本" EventData="ipconfig /flushdns" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:Dong_Yi_feng、WTP016" IsWarn="False" />
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:Dong_Yi_feng、WTP016、风释清然SC" IsWarn="False" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"__Author__": "WTP016、龙腾猫跃",
|
||||
"__Author__": "WTP016、龙腾猫跃、风释清然SC",
|
||||
"Title": "安装整合包",
|
||||
"Description": "下载、导入 Minecraft 整合包",
|
||||
"Types": ["Minecraft"],
|
||||
|
||||
+17
-11
@@ -12,19 +12,19 @@
|
||||
<local:MyCard Title="获取整合包" Margin="0,0,0,15">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,0,0,4"
|
||||
Text="整合包和资源包类似,是由 Minecraft 玩家创作并分享的,你可以在网上找到其他玩家制作的整合包。很多 Minecraft 交流网站(如 MCBBS、CurseForge)都有专门的整合包分享版块,你可以在这些地方挑选自己喜欢的整合包。" />
|
||||
Text="整合包和资源包类似,是由 Minecraft 玩家创作并分享的,你可以在网上找到其他玩家制作的整合包。很多 Minecraft 交流网站(如 MCBBS、CurseForge、Modrinth)都有专门的整合包分享版块,你可以在这些地方挑选自己喜欢的整合包。" />
|
||||
<local:MyButton Height="35" HorizontalAlignment="Left" Padding="13,0,13,0"
|
||||
Text="打开 MCBBS 整合包分享板块" EventType="打开网页" EventData="https://www.mcbbs.net/forum-modpack-1.html" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="安装已经下载好的压缩文件" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<local:MyCard Title="安装已有的压缩文件" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
|
||||
<local:MyHint Margin="0,0,0,15" Text="注意: 以下情况假设您已下载好整合包(通常是为 .zip / .rar 结尾的文件)。" IsWarn="False" />
|
||||
<Grid>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="对于结尾为 .zip / .rar 的压缩文件整合包,您需打开 PCL2 启动器,点击“下载”按钮后点击 CurseForge 项下的整合包按钮,点击“安装整合包”按钮并选择你下载好的本地整合包。此处以“Example.zip”为案例。" HorizontalAlignment="Left" />
|
||||
Text="对于结尾为 .zip / .rar 的压缩文件整合包,您需打开 PCL2 启动器,点击 “下载” 按钮后选择左侧菜单 “资源” 分类下的 “整合包” 选项,点击 “安装整合包” 按钮并选择你下载好的本地整合包。此处以 “Example.zip” 为案例。" HorizontalAlignment="Left" />
|
||||
<StackPanel Margin="250,0,0,0">
|
||||
<Image Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Modpack_Install_Directio.png" />
|
||||
<Image Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Modpack_Choose.png" />
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="此时 PCL2 会弹出“输入版本名”的窗口,您可自由输入。点击“确定”后,PCL2 自动开始安装。安装完毕后,您即可在版本列表选择以您输入的版本名为标题的整合包以开始游玩。" HorizontalAlignment="Left" />
|
||||
Text="此时 PCL2 会弹出 “输入版本名” 的窗口,您可自由输入。点击 “确定” 后,PCL2 自动开始安装。安装完毕后,您即可在版本列表选择以您输入的版本名为标题的整合包以开始游玩。" HorizontalAlignment="Left" />
|
||||
<StackPanel Margin="250,0,0,0">
|
||||
<Image Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Input_Game_Name.png" />
|
||||
<Image Source="https://cdn.img.z0z0r4.top/2022/07/26/6/Game_Launch.png" />
|
||||
@@ -43,26 +43,32 @@
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="下载 CurseForge 整合包" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<local:MyCard Title="下载并安装 CurseForge 或 Modrinth 整合包" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<Grid>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="1. 在 PCL2 中找到”下载”按钮,在左侧菜单 CurseForge 小项中找到“整合包”选项。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/pcl2-download-modpack.png" />
|
||||
Text="1. 在 PCL2 中点击 “下载” 按钮,并选择左侧菜单 “资源” 分类下的 “整合包” 选项。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/04/09/6432ac7454dd1.png?comment=打开整合包页面" />
|
||||
</Grid>
|
||||
|
||||
<local:MyHint Margin="0,20,0,0" Text="搜索时请尽量使用 Mod 的英文名称。" IsWarn="False" />
|
||||
<Grid Margin="0,10,0,0">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="2. 在左侧页面中通过选择或输入您所需整合包的名称、类型、来源、游戏版本以筛选并搜索整合包。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/04/09/6432ac6568fa6.png?comment=整合包搜索筛选选项" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="2. 选择一个整合包。本教程使用"RLCraft" 为范例。点击此整合包,点击您需要下载的版本,PCL2 会自动弹出输入版本名的窗口,您可自由输入,此处以“RLCraft”为范例,点击确定,PCL2 会自动开始下载。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/modpack_dl_directio.png" />
|
||||
Text="3. 选择一个整合包。本教程使用 "RLCraft" 为范例。点击此整合包,点击您需要下载的版本,PCL2 会自动弹出输入版本名的窗口,您可自由输入,此处以 “RLCraft” 为范例,点击确定,PCL2 会自动开始下载。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/26/6/modpack_name_input.png" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4"
|
||||
Text="3. 回到主页面,点击版本选择,您会看到以您刚刚输入的版本名命名的游戏。点击选择,启动即可进入游戏。"/>
|
||||
Text="4. 回到主页面,点击版本选择,您会看到以您刚刚输入的版本名命名的游戏。点击选择,启动即可进入游戏。"/>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:WTP016、龙腾猫跃" IsWarn="False" />
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:WTP016、龙腾猫跃、风释清然SC" IsWarn="False" />
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"__Author__": "一闪、DreamUniverse",
|
||||
"Title": "设置游戏内存大小",
|
||||
"Description": "为 Minecraft 手动设置游戏内存大小,在自动分配内存效果不佳时使用",
|
||||
"Types": ["Minecraft","启动器"]
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
<local:MyHint Margin="0,0,0,15" Text="该帮助页面还需要根据规范重新整理格式、优化排版。如果你感兴趣也可以来帮帮忙!" IsWarn="False" />
|
||||
<!-- 图片备份https://wwcq.lanzouy.com/iJkmX0l2iisd -->
|
||||
|
||||
<local:MyCard Title="手动设置内存大小">
|
||||
<StackPanel Margin="25,40,23,5">
|
||||
<TextBlock Margin="0,0,0,4" LineHeight="17"
|
||||
Text="在某些情况下,自动分配内存可能会出现一些难以预知的问题。
因此,在自动分配无法正常工作时,手动设置内存就十分必要。
本教程针对独立版本调整和全局设定两种途径进行讨论。"/>
|
||||
<local:MyHint Margin="0,-5,0,15" Text="请注意,错误的内存分配会造成游戏不稳定甚至不正常的内存溢出。
请在自行修改内存前务必谨慎操作!"/>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="1. 针对独立的一个版本进行调整">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,4,0,4" LineHeight="20"
|
||||
Text="1. 打开您的 PCL2 启动器,在主页点击左下方的“版本选择”按钮。" />
|
||||
<Image HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/01/17/63c65b027e9d1.jpg" />
|
||||
<TextBlock Margin="0,4,0,4" LineHeight="20"
|
||||
Text="2. 在版本选择列表中,右键点击需要修改内存的游戏版本。" />
|
||||
<Image HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/01/17/63c65b062580e.jpg" />
|
||||
<TextBlock Margin="0,4,0,4" LineHeight="20"
|
||||
Text="3. 在该版本的设置中,点击左侧的“设置”选项卡。" />
|
||||
<Image HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/01/17/63c65b04a32eb.jpg" />
|
||||
<TextBlock Margin="0,4,0,4" LineHeight="20"
|
||||
Text="4. 滑动至下方,找到“游戏内存”选项卡,选择“自定义”,然后滑动圆点即可手动调整。
此时,该版本的启动内存已为固定值,不再自动变更。" />
|
||||
<Image HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/01/17/63c65b018c28c.jpg" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<!-- 原图床已经无法正常加载,补充图床 -->
|
||||
<!-- 有时候能加在出来有时候不能加载,而且加载了不能同时加载,更换图床 -->
|
||||
<!-- 已更改图床,并根据规范修改图片,by ITfool(Github)2023.1.15-->
|
||||
<local:MyCard Title="2. 针对启动器所有游戏内存进行调整">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<local:MyHint Margin="0,-5,0,15" Text="请注意,修改 PCL2 的全局配置将影响所有依赖 PCL2 启动的游戏版本。"/>
|
||||
<TextBlock Margin="0,0,0,4" LineHeight="20"
|
||||
Text="1. 打开您的 PCL2 启动器,在主页点击上方的“设置”选单。" />
|
||||
<Image HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/01/17/63c65b0531ff2.jpg" />
|
||||
<TextBlock Margin="0,4,0,4" LineHeight="20"
|
||||
Text="2. 点击左侧的“游戏”选项卡,向下翻找,找到“游戏内存”选项卡。" />
|
||||
<Image HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/01/17/63c65b0049d45.jpg" />
|
||||
<TextBlock Margin="0,4,0,4" LineHeight="20"
|
||||
Text="3. 选择“自定义”,此时拖动圆点即可手动调整全局内存。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:一闪,DreamUniverse" IsWarn="False" />
|
||||
+2
-2
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"__Author__": "Wind_64",
|
||||
"Title": "购买 Minecraft 正版",
|
||||
"Description": "前往 Mojang 官网购买正版《我的世界》",
|
||||
"Description": "前往 Xbox 购买正版《我的世界》",
|
||||
"Types": [ "Minecraft" ],
|
||||
"IsEvent": true,
|
||||
"Keywords": "入正",
|
||||
"EventType": "打开网页",
|
||||
"EventData": "https://www.minecraft.net/store/checkout/minecraft-java-bedrock-edition-pc"
|
||||
"EventData": "https://www.xbox.com/zh-cn/games/store/minecraft-java-bedrock-edition-for-pc/9nxp44l49shj"
|
||||
}
|
||||
+144
-122
@@ -1,11 +1,4 @@
|
||||
<local:MyHint Margin="0,0,0,15" Text="该帮助页面还需要进一步完善。如果你感兴趣也可以来帮帮忙!" IsWarn="False" />
|
||||
<!-- 需要补充 EventType “打开帮助”、MyListItem 的简介。 -->
|
||||
|
||||
<!--
|
||||
如果你成功看到本段文字,代表你已经打开本篇的代码了。
|
||||
也可以使用 Ctrl + F 快速查找某项,例如:需要改变文本颜色,则搜索 “颜色” 准确定位查找。
|
||||
Change by XiaoFans
|
||||
-->
|
||||
<!-- 你可以使用 Ctrl + F 快速查找。例如,若需要改变文本颜色,则搜索 “颜色” 即可。 -->
|
||||
|
||||
<local:MyCard Title="前言" Margin="0,0,0,15">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
@@ -16,18 +9,18 @@
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="基础教学 1:纯文本" Margin="0,0,0,15">
|
||||
<local:MyCard Title="纯文本" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="每个 local:MyCard 代表一张卡片,你可以添加、删除格式类似的 MyCard 来添加多个卡片。每个 TextBlock 代表一段文本,你可以在 Text 中书写任何你想写的内容。你也可以自行添加更多的 TextBlock。" />
|
||||
<TextBlock Margin="0,0,0,4" Foreground="#8C7721"
|
||||
Text="你可以通过添加、删除属性修改样式,例如上面的 Foreground 会修改字体颜色。" />
|
||||
<TextBlock Margin="20,5,20,0" FontSize="11"
|
||||
Text="它还有许多可以调整的属性:Margin 调整边距,FontSize 调整字号,TextWrapping 设为 Wrap 即可启用自动换行。" />
|
||||
Text="每个 local:MyCard 代表一张卡片,你可以添加、删除格式类似的 MyCard 来添加多个卡片。每个 TextBlock 代表一段文本,你可以在 Text 属性中书写任何你想写的内容,也可以自行添加更多的 TextBlock。" />
|
||||
<TextBlock Margin="0,0,0,4" FontSize="11"
|
||||
Text="你可以通过添加、删除属性修改样式,例如上一行的 FontSize 就会将字号改为 11 号。" />
|
||||
<TextBlock Margin="20,5,20,0" Foreground="#8C7721"
|
||||
Text="它还有许多可以调整的属性:上一行的 Margin 调整了边距,Foreground 则会让文字变色。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="基础教学 2:卡片属性、提示条" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<local:MyCard Title="卡片、提示条" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<local:MyHint Text="local:MyHint 代表提示条,它默认是警告样式。" />
|
||||
<local:MyHint Margin="0,8,0,2" IsWarn="False"
|
||||
@@ -37,118 +30,111 @@
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="基础教学 3:长宽属性、图片" Margin="0,0,0,15">
|
||||
<local:MyCard Title="长宽属性、图片" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,4" Width="320" HorizontalAlignment="Right"
|
||||
Text="任意项目都可以添加 Width 与 Height 控制宽高,此外通过 HorizontalAlignment 来控制对齐:Center 代表居中,Right 代表居右。例如这段文本就被居右了。" />
|
||||
Text="任意项目都可以添加 Width 与 Height 属性来控制宽高。HorizontalAlignment 属性可以控制对齐:Center 代表居中,Right 代表居右,例如这段文本就被居右了。" />
|
||||
<TextBlock Margin="0,0,0,6"
|
||||
Text="Image 代表图片,你需要在它的 Source 属性中填写一个网址或文件路径,它会从该处获取图片并显示。通常需要使用 Height 限制它的高度。" />
|
||||
<Image Height="50" HorizontalAlignment="Center" Source="https://www.mcbbs.net/template/mcbbs/image/logo_sc.png" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="按钮教学 1:基础" Margin="0,0,0,15">
|
||||
<local:MyCard Title="按钮" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="你可以通过添加 local:MyButton 来新建一个按钮。你需要通过上一张卡片中提到的宽高属性来限定它的尺寸与位置,通过 Padding 属性控制它的内边距。" />
|
||||
Text="添加 local:MyButton 即可新建一个按钮。你需要限定它的尺寸与位置,并通过 Padding 属性进一步控制它的内边距。" />
|
||||
<local:MyButton Margin="0,4,0,10" Height="35" HorizontalAlignment="Left" Padding="25,0,25,0"
|
||||
Text="这是一个按钮!一个按钮!" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="你可以修改 ColorType 属性来调整按钮配色:Highlight 代表当前主题色,Red 代表红色。ToolTip 属性还可以让你在鼠标悬浮在上面的时候显示提示文本。" />
|
||||
<local:MyButton Margin="0,4,0,10" Width="250" Height="35" ColorType="Highlight"
|
||||
Text="把鼠标停在这里别动……" ToolTip="……就能看到这句话!" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="local:MyTextButton 是没有边框的 “纯文本按钮”,其作用与 local:MyButton 一致。" />
|
||||
<local:MyTextButton Margin="0,8,0,10" HorizontalAlignment="Center"
|
||||
Text="一个精简版的文本按钮" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="按钮可以做到很多事,具体将在 “事件” 部分介绍。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="事件 1:打开网页、弹出窗口" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,10"
|
||||
Text="按钮可以做到很多事,例如将 EventType 属性改为 打开网页,然后在 EventData 属性中写入网址,即可通过点击按钮打开网页。" />
|
||||
Text="将按钮的 EventType 属性设为 打开网页,然后在 EventData 属性中写入网址,即可通过点击按钮打开网页。" />
|
||||
<local:MyButton Width="140" Height="35" HorizontalAlignment="Left" Padding="13,0,13,0"
|
||||
Text="打开 MCBBS" EventType="打开网页" EventData="https://www.mcbbs.net/" />
|
||||
<TextBlock Margin="0,10,0,10"
|
||||
Text="或者将 EventType 属性改为 弹出窗口,然后在 EventData 属性中写入弹窗的标题与内容……" />
|
||||
<local:MyButton Width="140" Height="35" HorizontalAlignment="Left" Padding="13,0,13,0"
|
||||
Text="显示一个弹窗" EventType="弹出窗口" EventData="这是标题|标题与内容以竖线间隔。\n你也可以直接在其中换行。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="按钮教学 2:属性" Margin="0,0,0,15">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="你可以修改 ColorType 属性来调整按钮配色,Highlight 代表当前主题色,Red 代表红色。ToolTip 属性还可以让你在鼠标悬浮在上面的时候显示提示文本。" />
|
||||
<local:MyButton Margin="0,8,0,10" Width="250" Height="35" ColorType="Highlight"
|
||||
Text="打开 Wiki(按钮是主题色)" EventType="打开网页" EventData="https://minecraft-zh.gamepedia.com/Minecraft_Wiki" ToolTip="点击打开 Minecraft Wiki!" />
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="local:MyTextButton 是没有边框的文本按钮,你同样可以设置 EventType 与 EventData 让它具有特定功能。" />
|
||||
<TextBlock Margin="0,10,0,0"
|
||||
Text="local:MyTextButton 同样可以设置 EventType 与 EventData 让它具有特定功能。" />
|
||||
<local:MyTextButton Margin="0,8,0,0" HorizontalAlignment="Center"
|
||||
Text="点击打开知乎" EventType="打开网页" EventData="https://www.zhihu.com/" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="按钮教学 3:启动游戏" Margin="0,0,0,15">
|
||||
<local:MyCard Title="事件 2:启动游戏" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="EventType 改为启动游戏,EventData 改为游戏版本,即可点击启动特定版本的游戏。如果当前游戏文件夹没有该版本则无法启动。" />
|
||||
<local:MyButton Margin="0,8,0,10" Width="250" Height="35"
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="将 EventType 设置为 启动游戏,EventData 设置为具体的游戏版本,即可通过点击按钮启动游戏。如果当前游戏文件夹没有该版本,则无法启动。" />
|
||||
<local:MyButton Margin="0,4,0,10" Width="250" Height="35"
|
||||
Text="启动 Minecraft 1.12.2" EventType="启动游戏" EventData="1.12.2" />
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="在 EventData 后面添加一条竖线(|),竖线后填写服务器 IP,即可在启动该版本的同时自动进入服务器。按 Shift + 回车键上方的键就能打出来竖线了。" />
|
||||
<local:MyButton Margin="0,8,0,0" Width="250" Height="35"
|
||||
Text="使用 1.12.2 进入 Hypixel" EventType="启动游戏" EventData="1.12.2|mc.hypixel.net" ToolTip="服务器 IP:mc.hypixel.net" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="在 EventData 后面添加一条竖线(|),竖线后填写服务器 IP,即可在启动该版本的同时自动进入服务器。" />
|
||||
<local:MyButton Margin="0,4,0,0" Width="250" Height="35"
|
||||
Text="启动 1.12.2 并进入 Hypixel" EventType="启动游戏" EventData="1.12.2|mc.hypixel.net" ToolTip="服务器 IP:mc.hypixel.net" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="按钮教学 4:打开文件" Margin="0,0,0,15">
|
||||
<local:MyCard Title="事件 3:打开文件" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="EventType 为打开文件,EventData 为文件路径,即可点击打开特定文件或启动程序。" />
|
||||
<local:MyButton Margin="0,8,0,8" Width="200" Height="35"
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="将 EventType 设置为 打开文件,EventData 设置为文件路径,即可点击打开特定文件或启动程序。" />
|
||||
<local:MyButton Margin="0,4,0,8" Width="200" Height="35"
|
||||
Text="打开记事本" EventType="打开文件" EventData="notepad.exe" />
|
||||
<TextBlock Margin="0,4,0,0"
|
||||
Text="如果能在 PCL 文件夹中找到该文件,则会优先打开 PCL 文件夹中的文件。当然,你可以使用例如 C:\ 开头的绝对路径。" />
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="此外,PCL2 会将文件中的花括号 path 替换为 PCL 可执行文件所在文件夹({path}),可以用于执行特定程序或加载图片。" />
|
||||
<local:MyButton Margin="0,8,0,8" Width="200" Height="35"
|
||||
<local:MyButton Margin="0,4,0,10" Width="200" Height="35"
|
||||
Text="打开 PCL 日志" EventType="打开文件" EventData="Log1.txt" ToolTip="PCL2 的日志文件就在 PCL 文件夹内,且名为 Log1.txt" />
|
||||
<TextBlock Margin="0,4,0,0"
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="就像为游戏指定服务器 IP 一样,你也可以在 EventData 的竖线后为程序添加启动参数。" />
|
||||
<local:MyButton Margin="0,8,0,0" Width="200" Height="35"
|
||||
<local:MyButton Margin="0,4,0,0" Width="200" Height="35"
|
||||
Text="定位游戏启动脚本" EventType="打开文件" EventData="explorer.exe|/select,LatestLaunch.bat" ToolTip="PCL2 会将上一次启动 MC 的脚本保存在 PCL 文件夹内,且名为 LatestLaunch.bat。
点击按钮会打开文件管理器,并且借助参数要求它选中这个文件。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="按钮教学 5:其他命令" Margin="0,0,0,15">
|
||||
<local:MyCard Title="事件 4:其他事件类型" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,4,0,6" FontWeight="Bold"
|
||||
Text="EventType 共有以下种类:" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="EventType 为复制文本,会将 EventData 中的内容复制到剪贴板。" />
|
||||
Text="· 打开网页、启动游戏、打开文件:已在上方的卡片中介绍" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="EventType 为刷新主页,即可点击重新加载主页。如果你使用联网方式下载主页文件,你可以通过这一方式更新主页内容。它无需指定 EventData。" />
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="EventType 为下载文件,会在点击时要求选择文件保存位置,并且下载 EventData 的链接中的文件。" />
|
||||
<local:MyButton Margin="0,8,0,0" Width="250" Height="35"
|
||||
Text="· 今日人品、清理垃圾、内存优化:触发百宝箱中的对应功能" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="· 复制文本:将 EventData 中的内容复制到剪贴板" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="· 刷新主页:点击重新加载主页。如果主页文件为联网更新,这会重新下载主页内容" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="· 下载文件:在点击时要求选择文件保存位置,并且下载 EventData 的链接中的文件" />
|
||||
<local:MyButton Margin="0,5,0,6" Width="250" Height="35"
|
||||
Text="下载 MCBBS 的 Logo" EventType="下载文件" EventData="https://www.mcbbs.net/template/mcbbs/image/logo_sc.png" />
|
||||
<TextBlock Margin="0,4,0,0"
|
||||
Text="EventType 为打开帮助,在 EventData 中输入(帮助文件所在路径)/(帮助文件名.json)后即可通过点击按钮来快速打开帮助页面。"/>
|
||||
<TextBlock Margin="0,4,0,0"
|
||||
Text="以下面的按钮为例,当点击这个按钮时会跳转到相应的帮助,EventType 为打开帮助,EventData 为 帮助/自定义帮助.json"/>
|
||||
<local:MyButton Margin="0,8,0,0" Width="250" Height="35"
|
||||
Text="自定义帮助教程" EventType="打开帮助" EventData="帮助/自定义帮助.json"/>
|
||||
Text="· 打开帮助:跳转到 EventData 对应的帮助文件(输入相对 Help 文件夹的路径)"/>
|
||||
<local:MyButton Margin="0,5,0,6" Width="250" Height="35"
|
||||
Text="打开自定义帮助页面" EventType="打开帮助" EventData="帮助/自定义帮助.json"/>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="高级:列表教学" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<local:MyCard Title="横向布局 1:StackPanel" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="在需要更详细的列出内容时,你可以使用列表项“local:MyListItem”来替代按钮。在列表项中,点击操作的使用方式与按钮相同。" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="其中,Logo 指的是列表项的图标,所指定的可以是链接也可以是文件路径,Title 则是列表项的大标题,Info 指详细信息,它将会以灰色显示在大标题下方,同时 Info 是可选属性;Type 如果省略,所列的列表仅单纯展示信息,只有在 Type 属性里输入 Clickable 才能够触发相应活动。"/>
|
||||
<local:MyListItem Margin="-5,15,-5,0"
|
||||
Logo="https://www.baidu.com/favicon.ico" Title="百度" Info="百度一下,你就知道!"
|
||||
EventType="打开网页" EventData="https://www.baidu.com/" Type="Clickable" />
|
||||
<local:MyListItem Margin="-5,0,-5,8"
|
||||
Logo="pack://application:,,,/images/Blocks/Grass.png"
|
||||
EventType="打开帮助" EventData="帮助/自定义帮助.json" Type="Clickable" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="高级:复杂按钮布局" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<local:MyHint Margin="0,0,0,7" IsWarn="False"
|
||||
Text="下面的按钮列举了全部 6 种 EventType 作为示例。" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="你需要用到 StackPanel 在一横行里塞下多个按钮,你可以仅在这个教学卡片的基础上稍作调整,来实现自己的按钮布局。" />
|
||||
<TextBlock Margin="0,0,0,10"
|
||||
Text="如果你要实现更复杂的布局,你必须使用 Grid 等控件。多百度吧……谷歌也行。" />
|
||||
Text="你需要使用 StackPanel 在一行里塞下多个按钮。你可以仅在这个教学卡片的基础上稍作调整,来实现自己的按钮布局。" />
|
||||
<!-- 这是第一行 -->
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
||||
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left" Padding="13,0,13,0" ColorType="Highlight"
|
||||
@@ -163,61 +149,96 @@
|
||||
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left" Padding="13,0,13,0" ColorType="Red"
|
||||
Text="复制召唤命令" EventType="复制文本" EventData="/execute as @a at @s run summon Creeper ~ ~2 ~" ToolTip="这条 Minecraft 命令会在每个玩家头顶召唤一只苦力怕!" />
|
||||
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left" Padding="13,0,13,0"
|
||||
Text="刷新主页" EventType="刷新主页" ToolTip="这通常用于联网更新主页时刷新信息,对本地文件没啥用" />
|
||||
Text="内存优化" EventType="内存优化" />
|
||||
<local:MyButton Margin="0,0,10,0" Width="140" Height="35" HorizontalAlignment="Left" Padding="13,0,13,0"
|
||||
Text="下载作者的头像" EventType="下载文件" EventData="https://www.mcbbs.net/uc_server/data/avatar/000/14/51/06_avatar_small.jpg?ts=1471402592" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="高级:全局动态资源绑定" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<local:MyCard Title="横向布局 2:Grid" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap" LineHeight="17" Margin="0,0,0,15"
|
||||
Text="你可以使用全局动态资源绑定的方式来给你的控件赋予全局主题色。" />
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="你好世界!" Foreground="{DynamicResource ColorBrush1}"/>
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="你好世界!" Foreground="{DynamicResource ColorBrush3}"/>
|
||||
<TextBlock TextWrapping="Wrap"
|
||||
Text="你好世界!" Foreground="{DynamicResource ColorBrush5}"/>
|
||||
<TextBlock TextWrapping="Wrap" LineHeight="17" Margin="0,15,0,15"
|
||||
Text="除了字体颜色的前景色,你也可以用于背景色、边框等绝大部分的颜色参数,参考如下复杂例子。" />
|
||||
<Border Background="{DynamicResource ColorBrush5}" BorderBrush="{DynamicResource ColorBrush2}"
|
||||
CornerRadius="3" HorizontalAlignment="Stretch" BorderThickness="1" Height="27px" Opacity="0.7">
|
||||
<Grid>
|
||||
<Path Fill="{DynamicResource ColorBrush1}" Stretch="Fill" Width="15" Height="15" HorizontalAlignment="Left" Margin="10,0,0,0"
|
||||
Data="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z">
|
||||
</Path>
|
||||
<TextBlock Foreground="{DynamicResource ColorBrush1}" Margin="35,5,0,0" Text="仿造的同步主题色的信息条。" />
|
||||
</Grid>
|
||||
</Border>
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="如果要实现更复杂的布局,则必须使用 Grid。Grid 可以让按钮们自动适应窗口宽度:随意拉伸 PCL 窗口,按钮大小会自动改变。" />
|
||||
<TextBlock Margin="0,0,0,10"
|
||||
Text="你可以上网查找 “WPF Grid” 的相关教程,这里仅给出一个例子,不作详细介绍。你可以仅在这个教学卡片的基础上稍作调整,来实现自己的按钮布局。" />
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="1*" />
|
||||
<ColumnDefinition Width="1.6*" /> <!-- 这个按钮的宽度是其他按钮的 1.6 倍 -->
|
||||
<ColumnDefinition Width="1*" /> <!-- 如果不打 *,则会占用固定的宽度 -->
|
||||
</Grid.ColumnDefinitions>
|
||||
<!-- 为按钮添加 Grid.Column 属性,删除 Width 与 HorizontalAlignment 属性 -->
|
||||
<local:MyButton Grid.Column="0" Margin="0,0,10,0" Height="35" ColorType="Highlight"
|
||||
Text="打开 B 站" EventType="打开网页" EventData="https://www.bilibili.com/" />
|
||||
<local:MyButton Grid.Column="1" Margin="0,0,10,0" Height="35"
|
||||
Text="进入 Hypixel" EventType="启动游戏" EventData="1.16.3|mc.hypixel.net" ToolTip="使用 Minecraft 1.16.3 进入 Hypixel" />
|
||||
<local:MyButton Grid.Column="2" Margin="0,0,10,0" Height="35"
|
||||
Text="打开画图" EventType="打开文件" EventData="mspaint.exe" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="高级:预置图片和列表项" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<local:MyCard Title="列表项 1:基础" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock TextWrapping="Wrap" LineHeight="17"
|
||||
Text="PCL2 中包含一些预置的方块与物品图片,可以直接使用。"/>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Image Width="30" Height="30" Margin="15,15,0,15" Source="pack://application:,,,/images/Blocks/CommandBlock.png"/> <!-- 命令方块 -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/Cobblestone.png"/> <!-- 圆石 -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/GoldBlock.png"/> <!-- 金块 -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/Grass.png"/> <!-- 草方块 -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/GrassPath.png"/> <!-- 草径 -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/Anvil.png"/> <!-- 铁砧(zhen) -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/RedstoneBlock.png"/> <!-- 红石块 -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/RedstoneLampOn.png"/> <!-- 红石灯(亮) -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/RedstoneLampOff.png"/> <!-- 红石灯(灭) -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/Egg.png"/> <!-- 鸡蛋 -->
|
||||
<Image Width="30" Height="30" Margin="5,15,0,15" Source="pack://application:,,,/images/Blocks/Fabric.png"/> <!-- 布料(Fabric 图标) -->
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="你也可以使用列表项 “local:MyListItem” 来替代按钮,其使用方式与按钮类似。" />
|
||||
<local:MyListItem Margin="-5,2,-5,8"
|
||||
Logo="https://www.baidu.com/favicon.ico" Title="百度" Info="百度一下,你就知道!"
|
||||
EventType="打开网页" EventData="https://www.baidu.com/" Type="Clickable" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="Logo 属性为列表项的图标,指定的可以是链接也可以是文件路径;Title 是大标题,Info 是可选的小标题(详细信息);Type 如果省略,该列表项则单纯只展示信息,仅当 Type 为 Clickable 才能触发点击效果。"/>
|
||||
<local:MyListItem Margin="-5,2,-5,8"
|
||||
Logo="pack://application:,,,/images/Blocks/Grass.png"
|
||||
EventType="打开帮助" EventData="帮助/自定义帮助.json" Type="Clickable" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="EventType、EventData 与按钮几乎一致,唯一不同的是,列表项不支持联网加载帮助文件。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="列表项 2:内置图片" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="PCL 内置了一些 Minecraft 方块与物品图片,可以直接使用。"/>
|
||||
<StackPanel Orientation="Horizontal" Margin="10,8,0,15" Height="30">
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/CommandBlock.png"/> <!-- 命令方块 -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/Cobblestone.png"/> <!-- 圆石 -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/GoldBlock.png"/> <!-- 金块 -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/Grass.png"/> <!-- 草方块 -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/GrassPath.png"/> <!-- 草径 -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/Anvil.png"/> <!-- 铁砧 -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/RedstoneBlock.png"/> <!-- 红石块 -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/RedstoneLampOn.png"/> <!-- 红石灯(亮) -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/RedstoneLampOff.png"/> <!-- 红石灯(灭) -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/Egg.png"/> <!-- 鸡蛋 -->
|
||||
<Image Width="30" Margin="5,0,0,0" Source="pack://application:,,,/images/Blocks/Fabric.png"/> <!-- 布料(Fabric 图标) -->
|
||||
</StackPanel>
|
||||
<TextBlock TextWrapping="Wrap" LineHeight="17"
|
||||
Text="在需要更详细的列出内容时,你可以使用列表项来替代按钮。在列表项中,点击操作的使用方式与按钮相同。"/>
|
||||
<local:MyListItem Margin="-5,15,-5,0"
|
||||
Logo="https://www.baidu.com/favicon.ico" Title="百度" Info="百度一下,你就知道!"
|
||||
EventType="打开网页" EventData="https://www.baidu.com/" Type="Clickable" />
|
||||
<TextBlock Margin="0,0,0,4"
|
||||
Text="使用时,将上方对应行的 Source 复制到 MyListItem 的 Logo 属性处即可。"/>
|
||||
<local:MyListItem Margin="-5,0,-5,8"
|
||||
EventType="打开帮助" EventData="帮助/自定义帮助.json" Type="Clickable" />
|
||||
Logo="pack://application:,,,/images/Blocks/CommandBlock.png"
|
||||
Title="清理垃圾" Info="使用内置的命令方块图片作为 Logo" EventType="清理垃圾" Type="Clickable" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="主题色" Margin="0,0,0,15" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,15"
|
||||
Text="你可以用类似 {DynamicResource ColorBrush5} 的格式使用 PCL 当前的主题颜色,修改末尾的数字编号以改变颜色浓度。" />
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="8,4">
|
||||
<TextBlock Text=" 浓度 1 " Margin="5,0" Background="{DynamicResource ColorBrush1}" Foreground="#FFFFFF" />
|
||||
<TextBlock Text=" 浓度 2 " Margin="5,0" Background="{DynamicResource ColorBrush2}" Foreground="#FFFFFF" />
|
||||
<TextBlock Text=" 浓度 3 " Margin="5,0" Background="{DynamicResource ColorBrush3}" Foreground="#FFFFFF" />
|
||||
<TextBlock Text=" 浓度 4 " Margin="5,0" Background="{DynamicResource ColorBrush4}" Foreground="#FFFFFF" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="8,4">
|
||||
<TextBlock Text=" 浓度 5 " Margin="5,0" Background="{DynamicResource ColorBrush5}" />
|
||||
<TextBlock Text=" 浓度 6 " Margin="5,0" Background="{DynamicResource ColorBrush6}" />
|
||||
<TextBlock Text=" 浓度 7 " Margin="5,0" Background="{DynamicResource ColorBrush7}" />
|
||||
<TextBlock Text=" 浓度 8 " Margin="5,0" Background="{DynamicResource ColorBrush8}" />
|
||||
</StackPanel>
|
||||
<TextBlock Margin="0,15,0,8" Foreground="{DynamicResource ColorBrush2}" Background="{DynamicResource ColorBrush6}"
|
||||
Text="除了字体颜色,你也可以将主题色用于背景色、边框颜色等颜色参数。例如这行字的颜色为浓度 2,背景为浓度 6。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
@@ -226,13 +247,14 @@
|
||||
全部通用的属性:
|
||||
- Width、Height:设置宽度与高度
|
||||
- ToolTip:设置鼠标指向时的提示文本
|
||||
- Background:调整背景颜色(使用类似 Background="{DynamicResource ColorBrush5}" 的格式以调用 PCL2 当前的主题颜色,修改末尾的数字编号以改变颜色浓度)
|
||||
- Background:调整背景颜色(十六进制字符串,例如 #FF010203 代表 ARGB 中的 255,1,2,3。前两位代表不透明度,FF 为全不透明,00 为全透明)
|
||||
- Margin:调整外边距(格式为 左,上,右,下。例如 Margin="0,0,0,2" 即为 2 单位的下边距)
|
||||
|
||||
TextBlock(纯文本):
|
||||
- Text:设置显示的文本(如果要使用引号等特殊字符,自行百度 XAML 转义)
|
||||
- TextWrapping:开启自动换行
|
||||
- FontSize:设置字号
|
||||
- FontWeight:设置为 Bold 时,文字加粗
|
||||
- Foreground:调整前景颜色(十六进制字符串,例如 #FF010203 代表 ARGB 中的 255,1,2,3。前两位代表不透明度,FF 为全不透明,00 为全透明)
|
||||
- HorizontalAlignment:设置对齐方式(Left、Center、Right)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"__Author__": "一闪、呇星、EggPixel",
|
||||
"Title": "设置 LittleSkin 的外置登录",
|
||||
"Description": "用于非正版联机,或者用于使用 LittleSkin 网站的皮肤",
|
||||
"__Author__": "一闪、呇星、EggPixel、风释清然SC、龙腾猫跃",
|
||||
"Title": "设置 LittleSkin 登录",
|
||||
"Description": "使用 LittleSkin 进行第三方登录验证的设置方法",
|
||||
"Types": ["启动器"]
|
||||
}
|
||||
@@ -3,50 +3,77 @@
|
||||
|
||||
<local:MyCard Title="简介及注意事项">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,0" LineHeight="17" Text="PCL2 支持外置登录,设置 LittleSkin 的外置登录可以用于游玩非正版服务器,或者使用来自 LittleSkin 的皮肤。" />
|
||||
<TextBlock Margin="0,10,0,0" Text="如果您想用于联机,那么联机加入者必须是正版或外置登录,对房主则无要求。" />
|
||||
<TextBlock Margin="0,10,0,0" Text="如果您想在多人游戏中展示您的皮肤,请保证所有参与联机的成员均使用 LittleSkin 外置登录。皮肤显示不正常时,也可以搭配 CustomSkinLoader 模组并添加 ExtraList 文件以达到相同的效果。" />
|
||||
<local:MyHint Margin="0,10,0,0" Text="请注意:LittleSkin 外置登录不能用于进入正版服务器。" IsWarn="False" />
|
||||
<local:MyButton Margin="0,10,0,0" MinWidth="280" Padding="13,0" HorizontalAlignment="Left" Height="35" Text="获取配置文件(须登录 LittleSkin)" EventType="打开网页" EventData="https://littleskin.cn/user/config" />
|
||||
<TextBlock Margin="0,10,0,0" Text="如果您想用于联机,那么联机加入者必须是正版或第三方登录,对房主则无要求。" />
|
||||
<TextBlock Margin="0,10,0,0" Text="如果您想在多人游戏中展示您的皮肤,请保证所有参与联机的成员均使用 LittleSkin 登录。皮肤显示不正常时,也可以搭配 CustomSkinLoader 模组并添加 ExtraList 文件以达到相同的效果。" />
|
||||
<local:MyHint Margin="0,10,0,0" Text="LittleSkin 登录不能用于进入正版服务器。" IsWarn="False" />
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
||||
<local:MyButton Margin="0,10,10,0" MinWidth="140" Padding="13,0" HorizontalAlignment="Left" Height="35"
|
||||
Text="打开 LittleSkin" EventType="打开网页" EventData="https://littleskin.cn" />
|
||||
<local:MyButton Margin="0,10,10,0" MinWidth="280" Padding="13,0" HorizontalAlignment="Left" Height="35"
|
||||
Text="获取配置文件(须登录 LittleSkin)" EventType="打开网页" EventData="https://littleskin.cn/user/config" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="教程">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<local:MyHint Margin="0,10,0,0" Text="以下填写的所有邮箱地址应全部为英文小写字母,否则将会出现 UUID 为 null 的情况导致无法进入服务器!" IsWarn="True" />
|
||||
|
||||
<TextBlock Margin="0,10,0,0" Text="1. 前往 LittleSkin 注册一个账号。" />
|
||||
<local:MyCard Title="设置方法" Margin="0,0,0,15">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<local:MyHint Margin="0,0,0,0" Text="以下填写的所有邮箱地址应全部为英文小写字母,否则将会出现 UUID 为 null 的情况导致无法进入服务器!"/>
|
||||
<local:MyHint Margin="0,10,0,0" Text="在注册 LittleSkin 账号时不要使用第三方登录,可能会导致账号无法设置密码,从而无法继续操作!" IsWarn="False" />
|
||||
<local:MyButton Margin="0,10,0,0" MinWidth="140" Padding="13,0" HorizontalAlignment="Left" Height="35" Text="打开 LittleSkin 注册界面" EventType="打开网页" EventData="https://littleskin.cn/auth/register" />
|
||||
<Image Margin="0,10,0,0" Height="360" HorizontalAlignment="Left" Source ="https://cdn.img.z0z0r4.top/2022/07/10/1/img1.png" />
|
||||
<Grid Margin="0,10,0,0">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="1. 前往 LittleSkin 注册一个账号。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/05/15/64623b15ae134.png" />
|
||||
</Grid>
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="2. 进入“仪表盘”,点击左侧“角色管理”,再点击“添加新角色”。" />
|
||||
<local:MyButton Margin="0,10,0,0" MinWidth="140" Padding="13,0" HorizontalAlignment="Left" Height="35" Text="打开 LittleSkin 用户中心" EventType="打开网页" EventData="https://littleskin.cn/user" />
|
||||
<Image Margin="0,10,0,0" Height="360" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/img2.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="2. 进入“仪表盘”,点击左侧“角色管理”,再点击“添加新角色”。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/img2.png" />
|
||||
</Grid>
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="3. 在弹出的窗口内输入角色名(这将会成为联机时的 ID,即游戏中的用户名),填写完成后点击“确定”。" />
|
||||
<Image Margin="0,20,0,0" Height="360" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/img3.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="3. 在弹出的窗口内输入角色名(这将会成为联机时的 ID,即游戏中的用户名),填写完成后点击“确定”。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2022/07/10/1/img3.png" />
|
||||
</Grid>
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="4. 打开 PCL2,点击左下角的“版本选择”。" />
|
||||
<Image Margin="0,20,0,0" Height="360" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230b5136.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="4. 打开 PCL2,点击左下角的“版本选择”。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230b5136.png" />
|
||||
</Grid>
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="5. 右键点击将要启动的游戏版本。" />
|
||||
<Image Margin="0,20,0,0" Height="360" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230bedd5.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="5. 右键点击将要启动的游戏版本。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230c9e9b.png" />
|
||||
</Grid>
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="6. 点击左侧“设置”选项。" />
|
||||
<Image Margin="0,20,0,0" Height="360" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230c9e9b.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="6. 点击左侧“设置”选项。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230bedd5.png" />
|
||||
</Grid>
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="7. 滑动到页面底部,在“服务器选项”中把登录方式设为“第三方登录:Authlib Injector 或 LittleSkin”" />
|
||||
<Image Margin="0,20,0,0" Height="360" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36df35222d.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="7. 滑动到页面底部,在“服务器选项”中把登录方式设为“第三方登录:Authlib Injector 或 LittleSkin”。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36df35222d.png" />
|
||||
</Grid>
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="8. 点击下方“设置为 LittleSkin”按钮,并点击“确定”。" />
|
||||
<Image Margin="0,20,0,0" Height="360" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36e0268931.png" />
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="8. 点击下方“设置为 LittleSkin”按钮。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36e0268931.png" />
|
||||
</Grid>
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="9. 返回主菜单并输入你的 LittleSkin 账号,点击“启动游戏”即可。" />
|
||||
<Image Margin="0,20,0,0" Height="360" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36e13ba79e.png" />
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="在启动游戏后,PCL2 能够记忆你的账号,并且可以进行更换角色、更改皮肤、退出登录等操作。" />
|
||||
<local:MyHint Margin="0,20,0,0" Text="在启动游戏后,PCL 能够记忆你的账号,并且可以进行更换角色、更改皮肤、退出登录等操作。" IsWarn="False" />
|
||||
<Grid Margin="0,10,0,0">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="9. 返回主页并输入你的 LittleSkin 账号,点击“启动游戏”即可。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/20/63f36e13ba79e.png" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:一闪、呇星、EggPixel" IsWarn="False" />
|
||||
<local:MyHint Margin="0,0,0,15" Text="作者:一闪、呇星、EggPixel、风释清然SC、龙腾猫跃" IsWarn="False" />
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"__Author__": "XiaoFans、一闪、龙腾猫跃",
|
||||
"Title": "设置外置登录、限制登录方式",
|
||||
"Description": "设置第三方登录(统一通行证、Authlib-Injector、Blessing Skin 等),单独为某版本指定登录方式",
|
||||
"Title": "设置第三方登录、限制登录方式",
|
||||
"Description": "设置外置登录(统一通行证、Authlib-Injector、Blessing Skin 等),单独为某版本指定登录方式",
|
||||
"Types": ["启动器"]
|
||||
}
|
||||
+33
-20
@@ -1,31 +1,44 @@
|
||||
<!-- 需要根据规范重新整理格式、标点、空格等。部分语句不太通顺,需要再改改。 -->
|
||||
<!-- 图片备份 https://yshs.lanzoui.com/iIquToi85kf -->
|
||||
<!-- 2023/02/20 添加的图片 https://wwou.lanzoub.com/ijvOW0o1xrne 目前没有加箭头,可以加一下 -->
|
||||
<!--
|
||||
|
||||
<local:MyCard Title="简介">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,0" LineHeight="17" Text="PCL2 支持多种登录方式,例如正版登录、离线登录、统一通行证和 Authlib-Injector 登录,也可以单独为某一版本指定登录方式。此界面将提供简单的教程。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
-->
|
||||
<local:MyCard Title="教程">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,10,0,0" Text="1. 点击启动页面下方的“版本选择”。" />
|
||||
<Image Height="360" Margin="0,20,0,0" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230b5136.png" />
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="2. 右键点击需要修改的游戏版本。" />
|
||||
<Image Height="360" Margin="0,20,0,0" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230c9e9b.png" />
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="3. 点击左侧“设置”按钮。" />
|
||||
<Image Height="360" Margin="0,20,0,0" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230bedd5.png" />
|
||||
|
||||
<TextBlock Margin="0,50,0,0" Text="4. 滑动至下方,在“服务器”中选择登录方式即可切换。" />
|
||||
<Image Height="360" Margin="0,20,0,0" HorizontalAlignment="Left" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f2023198b0c.png" />
|
||||
<TextBlock Margin="0,0,0,0" LineHeight="17"
|
||||
Text="PCL2 目前支持正版登录、离线登录、统一通行证和 Authlib-Injector 登录,也可以单独为某一版本指定登录方式。本篇将对此提供简单的教程。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="设置 LittleSkin 登录">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<local:MyCard Title="指定登录方式" Margin="0,0,0,15">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<Grid>
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="1. 点击启动页面下方的“版本选择”。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230b5136.png" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="2. 右键点击需要修改的游戏版本。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230c9e9b.png" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="3. 点击左侧“设置”按钮。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/02/19/63f20230bedd5.png" />
|
||||
</Grid>
|
||||
|
||||
<Grid Margin="0,20,0,4">
|
||||
<TextBlock TextWrapping="Wrap" Margin="0,15,0,4" Width="200"
|
||||
Text="4. 滑动至下方,在“服务器”中选择登录方式即可切换。" HorizontalAlignment="Left" />
|
||||
<Image Margin="250,0,0,0" HorizontalAlignment="Center" Source="https://cdn.img.z0z0r4.top/2023/05/13/645f36c487851.png" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="扩展阅读">
|
||||
<StackPanel Margin="20,40,23,15">
|
||||
<local:MyListItem Margin="0,0,0,0" EventType="打开帮助" EventData="启动器/LittleSkin 外置登录使用教程.json" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
+2
-2
@@ -3,14 +3,14 @@
|
||||
<local:MyCard Title="导出角色皮肤">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,4" LineHeight="17"
|
||||
Text="PCL2 的皮肤加载渠道分为以下三种:
1. 登录验证获取皮肤(Mojang/微软正版、Authlib-injector 外置登录、统一通行证);
2. 直接加载正版用户的皮肤;
3. 本地加载。
本教程的导出方法适用于前两种情况。" />
|
||||
Text="PCL2 的皮肤加载渠道分为以下三种:
1. 登录验证获取皮肤;
2. 直接加载正版用户的皮肤;
3. 本地加载。
本教程的导出方法适用于前两种情况。" />
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="教程">
|
||||
<StackPanel Margin="25,40,23,15">
|
||||
<TextBlock Margin="0,0,0,4" LineHeight="17"
|
||||
Text="对于外置登录用户,请先确认登录配置正确。
你可以参考以下帮助文档。" />
|
||||
Text="对于第三方登录用户,请先确认登录配置正确。
你可以参考以下帮助文档。" />
|
||||
<local:MyListItem Margin="0,0,0,0"
|
||||
EventType="打开帮助" EventData="启动器/指定登录方式.json" />
|
||||
<TextBlock Margin="0,0,0,4" LineHeight="17"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="设置外置登录、限制登录方式" CanSwap="True" IsSwaped="True">
|
||||
<local:MyCard Title="设置第三方登录、限制登录方式" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,11">
|
||||
<local:MyListItem Margin="-5,0,-5,8"
|
||||
EventType="打开帮助" EventData="启动器/指定登录方式.json" />
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</StackPanel>
|
||||
</local:MyCard>
|
||||
|
||||
<local:MyCard Title="设置外置登录、限制登录方式" CanSwap="True" IsSwaped="True">
|
||||
<local:MyCard Title="设置第三方登录、限制登录方式" CanSwap="True" IsSwaped="True">
|
||||
<StackPanel Margin="25,40,23,11">
|
||||
<local:MyListItem Margin="-5,0,-5,8"
|
||||
EventType="打开帮助" EventData="启动器/指定登录方式.json" />
|
||||
|
||||
Reference in new issue
Block a user