Apple Bonanza ?
我制作了这个数据包,旨在让生存模式中的摘树叶和砍树体验更加丰富有趣。它添加了可配置的额外苹果掉落、罕见的金苹果与神苹果(附带粒子/音效提示),以及在破坏树叶时有几率触发惊喜蜘蛛陷阱。
所有设置都可以通过交互式聊天菜单实时进行配置。
功能说明
- 苹果掉落倍率: 当树叶掉落苹果时,会根据你的设置掉落额外的苹果(默认:额外 +2 个)。
- 金苹果掉落: 从被破坏或自然腐烂的树叶中掉落的金苹果几率(默认:5%)。
- 附魔金苹果稀有度: 在枝叶间发现神苹果的罕见几率,伴有音效提示和标题横幅(默认:0.5% / 1000 分之 5)。
- 惊喜蜘蛛陷阱: 破坏树叶时有小几率在你脚下生成蛛网并唤醒隐藏的蜘蛛或洞穴蜘蛛(默认:3%)。
- 支持全部 11 种树木变体: 适用于橡木、深色橡木、白桦、云杉、丛林、金合欢、红树林、樱花、杜鹃花、开花杜鹃花和白橡树的树叶。
- 无刻度延迟: 完全基于进度驱动。仅在事件发生时触发,没有任何持续的刻度循环或实体扫描器。
- 可点击的聊天 GUI: 通过一键 [ON] / [OFF] 按钮切换功能、调整概率或直接选择预设,全部在聊天界面完成。
- 管理员与权限系统: 可将设置对所有玩家开放,或使用
ab.admin 玩家标签限制为仅管理员操作。
游戏内设置菜单
你无需记忆任何命令——只需输入以下指令即可随时打开交互式聊天控制面板:
/trigger ab.status set 1
(或 /function apple_bonanza:status)
点击展开完整命令与触发参考
- /trigger ab.status set 1 — 打开聊天配置菜单。
- /trigger ab.set_multiplier set <N> — 设置每次发现时额外掉落的苹果数量(1 到 64)。
- /trigger ab.toggle_golden set 1 — 开启/关闭金苹果掉落。
- /trigger ab.set_golden_rate set <1-100> — 设置金苹果掉落几率(以 % 为单位)。
- /trigger ab.toggle_enchanted set 1 — 开启/关闭附魔金苹果掉落。
- /trigger ab.set_enchanted_rate set <1-1000> — 设置神苹果几率(千分比:5 = 0.5%)。
- /trigger ab.toggle_spider set 1 — 开启/关闭蜘蛛陷阱生成。
- /trigger ab.set_spider_rate set <1-100> — 设置蜘蛛陷阱几率(以 % 为单位)。
- /tag <player> add ab.admin — 如果启用了管理员模式,授予编辑设置的权限。
- /function apple_bonanza:uninstall — 在删除整合包前,干净地移除所有记分板、标签和数据。
安装方法
- 下载数据包
.zip 文件或文件夹。
- 将其放入 Minecraft 世界的
datapacks 文件夹中。
- 在游戏中运行 /reload。
- 搞定!
由 IsadGame 创作
欢迎在评论区留下反馈或报告任何错误!
Apple Bonanza ?
I made this data pack to make leaf foraging and tree chopping in survival feel a lot more rewarding. It adds configurable extra apple drops, rare Golden Apples and God Apples with particles/sound cues, and a small chance of surprise spider traps when breaking leaves.
Everything can be configured in real-time directly from an interactive chat menu.
What it does
- Apple Drop Multiplier: Whenever an apple drops from leaves, it drops additional apples based on your settings (default: +2 extra apples).
- Golden Apple Drops: Chance to drop a Golden Apple from broken or naturally decaying leaves (default: 5%).
- Enchanted Golden Apple Rarity: Rare chance to uncover a God Apple in the foliage with sound cues and a title fanfare (default: 0.5% / 5 in 1000).
- Surprise Spider Traps: Breaking leaves has a small chance to spawn a cobweb at your feet and awaken a hidden Spider or Cave Spider (default: 3%).
- All 11 Tree Varieties Supported: Works on Oak, Dark Oak, Birch, Spruce, Jungle, Acacia, Mangrove, Cherry, Azalea, Flowering Azalea, and Pale Oak leaves.
- No Tick Lag: Completely advancement-driven. It only triggers when an event happens, with zero constant ticking loops or entity scanners.
- Clickable Chat GUI: Toggle features with 1-click [ON] / [OFF] buttons, adjust rates, or pick quick presets directly in chat.
- Admin & Permission System: Keep settings open to all players or restrict them to operators using the
ab.admin player tag.
In-Game Settings Menu
You don't need to memorize any commands—just open the interactive chat control panel anytime by typing:
/trigger ab.status set 1
(or /function apple_bonanza:status)
Click to expand full command & trigger reference
- /trigger ab.status set 1 — Opens the chat configuration menu.
- /trigger ab.set_multiplier set <N> — Sets how many extra apples drop per find (1 to 64).
- /trigger ab.toggle_golden set 1 — Toggles Golden Apple drops ON / OFF.
- /trigger ab.set_golden_rate set <1-100> — Sets Golden Apple drop chance (in %).
- /trigger ab.toggle_enchanted set 1 — Toggles Enchanted Golden Apples ON / OFF.
- /trigger ab.set_enchanted_rate set <1-1000> — Sets God Apple chance (per-mille: 5 = 0.5%).
- /trigger ab.toggle_spider set 1 — Toggles Spider trap spawns ON / OFF.
- /trigger ab.set_spider_rate set <1-100> — Sets Spider trap chance (in %).
- /tag <player> add ab.admin — Grants permission to edit settings if Admin Mode is enabled.
- /function apple_bonanza:uninstall — Cleanly removes all scoreboards, tags, and data before deleting the pack.
How to Install
- Download the data pack
.zip or folder.
- Place it inside your Minecraft world's
datapacks folder.
- In-game, run /reload.
- That's it!
Created by IsadGame
Feel free to leave feedback or report any bugs in the comments!
评论 0
登录后参与评分
还没有评论,来抢沙发吧