|
|
Pebbles Crate (Pebbles Crate)Github |相关wiki |源站链接支持: fabricPebbles Crate是Minecraft Fabric 1.19.2-1.20.1的加权随机箱子模组,非常适合用于投票箱、高级箱子以及其他你想要使用它的地方。
Pebble\'s Lootcrate
Pebble\'s Lootcrate是适用于Fabric Minecraft版本1.19.2和1.20.1的模组。
确保已安装Fabric Language Kotlin!如果要将配置从AdvancedCrates转换为Pebble\'s Crate,我已经编写了一个转换器,将有助于加快速度,可以在此找到:
链接
前往源代码:
链接
欢迎在Github上给我一个星星 :)
来试试我管理的服务器上的箱子 :)
IP: *dynastymc.org*
权限
对于所有管理命令,如果安装了LuckPerm,需要以下权限:
pebbles.admin.crate
可用命令
/padmin crate 显示配置中所有可用的箱子,并允许您获取箱子转换器/箱子钥匙
/padmin getcrate <name> 获取一个箱子转换器
/padmin givekey <player> <amount> <cratename> 给特定玩家一个箱子钥匙
如何使用?
安装模组后,您可以导航至/config/pebbles-crate/crates或创建文件夹,然后创建一个文件,例如example.json。
您可以使用以下示例作为结构的参考:
{
\"crateName\": \"Vanilla Items Crate\",
\"crateKey\": {
\"material\": \"minecraft:tripwire_hook\",
\"name\": \"&#FFBF00Vanilla Key\",
\"lore\": [
\"&#FFDC73• Opens a Vanilla Items Crate\"
]
},
\"prize\": [
{
\"name\": \"&#63BC5DDiamond\",
\"material\": \"minecraft:diamond\",
\"amount\": 1,
\"nbt\": \"{species:\\\"cobblemon:bulbasaur\\\",aspects:[\\\"shiny\\\"]}\",
\"commands\": [
\"give {player_name} minecraft:diamond 1\"
],
\"broadcast\": \"&6{player_name} &fhas received {prize_name} &ffrom {crate_name}\",
\"messageToOpener\": \"&6[Pebble\'s Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate\",
\"lore\": [
\"Chance of getting the drop: {chance}%\"
],
\"chance\": 40
},
{
\"name\": \"&rElytra\",
\"material\": \"minecraft:elytra\",
\"amount\": 1,
\"commands\": [
\"give {player_name} minecraft:elytra 1\"
],
\"broadcast\": \"&6{player_name} &fhas received {prize_name} &ffrom {crate_name}\",
\"messageToOpener\": \"&6[Pebble\'s Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate\",
\"lore\": [
\"Chance of getting the drop: {chance}%\"
],
\"chance\": 5
},
{
\"name\": \"&rGolden Apple\",
\"material\": \"minecraft:golden_apple\",
\"amount\": 1,
\"commands\": [
\"give {player_name} minecraft:golden_apple 1\"
],
\"broadcast\": \"&6{player_name} &fhas received {prize_name} &ffrom {crate_name}\",
\"messageToOpener\": \"&6[Pebble\'s Crates] &f&lYou got {prize_name} &f&lfrom Vanilla Items Crate\",
\"lore\": [
\"Chance of getting the drop: {chance}%\"
],
\"chance\": 55
}
]
}Copy已复制!
请注意,模组支持旧格式(例如 &#63BC5D,&4,&f,&r),如示例所示。
待办事项
- 全局可自定义的选项(在游戏内的UI元素,如下一个/上一个的箭头)
- 在类中添加注释
- 进一步优化模组
- 管理员UI,用于在游戏中编辑战利品
- 更好/更多的错误处理
- 完成待办事项
截图:
来自Modrinth所有游戏版本1.21.11.20.11.19.2所有类型fabricPebble\'s Crate 1.1.1-1.21.1pebbles-crates-1.1.1-1.21.1.jar下载1.1.1-1.21.1#Beta- Update 1.21.1- Supports both legacy and new NBT format- Fix multiple crates not loading- Better item deletion handling展开版本: 1.1.1-1.21.1支持游戏: 1.21.1类型:FabricBeta下载次数: 2,755Pebble\'s Crate 1.0.4-1.20.1pebbles-crates-1.0.4-1.20.1.jar下载1.0.4-1.20.1#Release- Make keys drop to ground when inventory is full展开版本: 1.0.4-1.20.1支持游戏: 1.20.1类型:FabricRelease下载次数: 1,494Pebble\'s Crate 1.0.3-1.20.1pebbles-crates-1.0.3-1.20.1.jar下载1.0.3-1.20.1#Release展开版本: 1.0.3-1.20.1支持游戏: 1.20.1类型:FabricRelease下载次数: 263Pebble\'s Crate 1.0.3pebbles-crates-1.0.3.jar下载1.0.3#Release- Added player accessor (@a, @e @p etc.) to give keys to multiple players- Added ability to disable particles for specific crates through /padmin activecrates展开版本: 1.0.3支持游戏: 1.19.2类型:FabricRelease下载次数: 209Pebble\'s Crate 1.0.2pebbles-crates-1.0.2.jar下载1.0.2#ReleaseRelease 1.0.2, bug fixes, more error-handling, minor changes:- Increased animation timer, more suspense- Reduced volume on the drawing and reward sounds (will be customisable in the future)- Fixed amount not applying properly when set on the crate config- Added URL for web-editor (WIP)- Properly handle empty/missing message and broadcast fields展开版本: 1.0.2支持游戏: 1.19.2类型:FabricRelease下载次数: 94Pebble\'s Crate 1.0.1pebbles-crates-1.0.1.jar下载1.0.1#Release- Increased draw animation timer- Fixed issue with named paper registering empty crates- Add URL for editing the crate config on Web-UI- Automatically generate config folder on launch if it does not exist rather than when using crate command for the first time展开版本: 1.0.1支持游戏: 1.19.2类型:FabricRelease下载次数: 90全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
Pebbles Crate |
楼主
2025-8-10 18:49:43
回复(0)
收起回复
|