搜索历史
清空
暂无搜索历史
论坛热搜
1
Jenny — 有趣的模拟女友模组|珍妮模组
热
3
上古老物 冒险者传说 by WhiteSword
新
5
洛心斗罗-福利|公会据点战|武魂||抽奖|最终版
2
乌托邦探险之旅3.2
热
4
幻虚斗罗V1.5
6
水星迫降——在未知的世界中挣扎
登陆 注册 QQ登陆
快捷导航
查看: 58|回复: 0

[模组分享] Pebbles Crate (Pebbles Crate)-MOD模组

[复制链接]

5021

主题

60

回帖

1万

积分

龙❁妻

Rank: 8Rank: 8

经验
10302 EP
金粒
5181 粒
绿宝石
20 块
爱心
0 点
发表于 2025-8-10 18:49:43 | 显示全部楼层 |阅读模式
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 回复 收起回复
小僵尸论坛感谢有你~
回复 论坛版权

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 手机动态码快速登录

本版积分规则



介绍

我的世界(Minecraft)小僵尸论坛
收录了来自各地的我的世界(MC)爱好者们的各种资源

须知: 切勿滥用举报,任何与举报相关的信息必须属实!

"Minecraft"以及"我的世界"为Mojang Synergies AB的商标 本站与Mojang以及微软公司没有从属关系

官方

新浪微博 腾讯微博 微信公众号 投稿规则 版权声明 捐助我们

官方QQ①群: 291907844 (点击加群)
官方QQ②群: 421312192
官方QQ③群: 528726532

我的世界(Minecraft)小僵尸论坛

新会员

QQ|Archiver|手机版|小黑屋|Minecraft(我的世界)小僵尸论坛 |网站地图

GMT+8, 2026-6-17 06:34 , Processed in 0.247050 second(s), 153 queries .

快速回复 返回顶部 返回列表