2024-05-11 21:55:14 +08:00
|
|
|
|
---
|
|
|
|
|
sidebar_position: 5
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# 材质包转换
|
|
|
|
|
|
2024-05-18 07:50:25 +08:00
|
|
|
|
## java2bedrock.sh
|
2024-05-11 21:55:14 +08:00
|
|
|
|
|
2024-05-18 07:50:25 +08:00
|
|
|
|
java2bedrock.sh(底下简称jb)是一个自动资源包转换工具,可以将JAVA版的材质包转化成基岩版的mcpack
|
|
|
|
|
|
|
|
|
|
[项目地址](https://github.com/Kas-tle/java2bedrock.sh)
|
|
|
|
|
|
|
|
|
|
### 本地使用
|
|
|
|
|
|
|
|
|
|
:::tips
|
|
|
|
|
|
|
|
|
|
jb需要在linux系统上运行,如果你使用WINDOWS,你可以选择wsl或者虚拟机
|
|
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
本地运行你只需要执行
|
|
|
|
|
|
2024-05-18 07:51:19 +08:00
|
|
|
|
```
|
2024-05-18 07:50:25 +08:00
|
|
|
|
./converter.sh 我的资源包.zip
|
2024-05-18 07:51:19 +08:00
|
|
|
|
```
|
2024-05-18 07:50:25 +08:00
|
|
|
|
|
|
|
|
|
如果你需要更加复杂的转换,请查看项目的Github
|
|
|
|
|
|
|
|
|
|
### 在线转换
|
|
|
|
|
|
|
|
|
|
:::tips
|
|
|
|
|
|
|
|
|
|
你需要拥有一个GitHUB账号才可以
|
|
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
* 首先你需要新建一个Issue
|
|
|
|
|
* 在类型选择**Pack Conversion**
|
|
|
|
|
* 在**Java Pack Direct Download URL** 填上你的资源包下载地址(不能是网盘,要求是直链)
|
|
|
|
|
* 最后勾上最下面的用户协议,点击开始就可以
|
|
|
|
|
* 转换好后,有个机器人会提醒你去Github Action下载,下载就来就是转换后的基岩版资源包
|
|
|
|
|
|
|
|
|
|
## GeyserModelEngine
|
|
|
|
|
|
|
|
|
|
一个能让你Geyser服务器支持MEG4的奇妙插件
|
|
|
|
|
|
|
|
|
|
### 前置
|
|
|
|
|
|
|
|
|
|
根据服务端版本下载以下插件
|
|
|
|
|
|
|
|
|
|
[GeyserUtils](https://github.com/zimzaza4/GeyserUtils)
|
|
|
|
|
|
|
|
|
|
[GeyserModelEngine](https://github.com/zimzaza4/GeyserModelEngine)
|
|
|
|
|
|
|
|
|
|
[LibsDisguises](https://www.spigotmc.org/resources/libs-disguises-free.81/)
|
|
|
|
|
|
|
|
|
|
下载完后,将`GeyserModelEngine``LibsDisguises`放入插件文件夹
|
|
|
|
|
|
|
|
|
|
如果你并不知道怎么安装GeyserUtils,请查看进阶
|
|
|
|
|
|
|
|
|
|
[项目地址](https://github.com/zimzaza4/GeyserModelEngine),有简体中文,所以后续步骤我就不写了
|