Drop Loot Tables
v1.8.1-1.9
如果……
……Cobblemon 使用经典的原版 Minecraft 战利品表呢?
功能
- 为 Cobblemon 模组中的各种事件添加创建战利品表的能力:
- 当一只宝可梦被捕获时。
- 当一只宝可梦在宝可梦对战中击败另一只时。
- 当一只宝可梦进化时。
- 当玩家从蛋中孵化一只宝可梦时。
- 当一只宝可梦在世界中被杀死时。
- 当玩家将一只宝可梦从电脑中释放时。
- 当使用化石复活机复活一只宝可梦时。
- 当玩家选择初始宝可梦时(非常适合用于基于初始宝可梦的起始套装!)。
- 当一只宝可梦在世界中计时器触发时(已优化,开销极低)。
- 当一只宝可梦在胜利方参与对战时。
- 当一只宝可梦升级时。
- 添加了一系列与 Cobblemon 相关的条件:
- 允许你指定掉落位置,按掉落者类型区分,并可针对每个掉落者进行覆盖设置。
- 掉落到玩家的物品栏中。
- 掉落到玩家的末影箱存储中。
- 掉落在宝可梦实体旁边。
- 作为持有物品给予宝可梦。
- 替换宝可梦当前的持有物品。
- 完全可通过数据包自定义。
- 方便地在自己的模组中添加新的掉落者、事件处理器、条件和掉落目标组件。
- 在事件和战利品表之间引入了一个新的次要层级,使系统更加灵活,取代了旧的
/species/form模式。 - 如果指示保留,会保留 Cobblemon 原本已有的掉落物(针对 Cobblemon 已经处理过的掉落情况)。
依赖项
测试
请查看下面的演示整合包。它包含以下基本示例:
- 在地狱中使用黑暗球捕获幽灵属性宝可梦,会将下界疣直接给予捕获者的物品栏。
- 在对战中用劈斩司令或小剑鬼击败劈斩司令,会将名为“领袖徽记”的木棍掉落到劈斩司令/小剑鬼主人的物品栏中。
- 进化伊布会给予与该进化形态属性相同的属性宝石(例如:雷伊布给予电气宝石,水伊布给予水滴宝石等)。
- 孵化摩鲁蛾会给予随机糖果。你需要一个孵化模组,如 Cobbreeding,因为基础模组中尚未加入繁殖功能。
- 着火的波波死亡时会掉落熟鸡肉。
- 任何宝可梦升级到 50 级时,其主人将获得一份“重新开始麻糬”。
- 释放低于 50 级的宝可梦会给予经验糖果 S,51 至 75 级之间释放给予经验糖果 M,75 级以上释放给予经验糖果 L。
- 使用化石复活机复活宝可梦时,有一定几率获得该世代的另一种化石。
- 选择初始宝可梦会给予玩家一套与该宝可梦属性颜色相匹配的初始套装。
- 波波系列每经过 20 个游戏刻会掉落一根羽毛或随机宝可梦羽毛,并播放翅膀拍打的声音。
- 持有树果并在战斗中处于胜利方的盾甲龙会将该树果转化为树果汁。
玩家帮助
插件开发者帮助
数据包帮助
模组开发者帮助
组件文档
已知问题
- ≤v1.7.3-1.9.0 版本存在一个问题:尝试过早运行计时掉落者时,其自身 ID 返回为空值。这确实不太合理。≥v1.7.3-1.9.1 版本通过允许 ID 为空来解决此问题,并在发生这种情况时安全地失败(即找不到任何掉落者)。
路线图
如果你想了解该模组的开发进度,请加入 Discord 并订阅该频道以获取通知。你也可以在 模组主页 上跟踪待办事项列表。
反馈
如果你有任何关于该模组的问题或请求,或者只是想过来打个招呼,欢迎访问我们的 Discord!
支持
如果你喜欢我制作的内容,或我的作品帮助你完成了某些事情,请考虑 投币打赏!如果你愿意,也可以在打赏时提及我是如何帮助你的!
Drop Loot Tables
v1.8.1-1.9
What if…
…Cobblemon used good ol’ vanilla Minecraft loot tables?
Features
- Adds the ability to create loot tables for various events in the Cobblemon mod:
- When a Pokémon’s captured.
- When a Pokémon defeats another in a Pokémon battle.
- When a Pokémon evolves.
- When a player hatches a Pokémon from an egg.
- When a Pokémon is killed in the world.
- When a player releases a Pokémon from their PC.
- When a Pokémon is resurrected using the fossil revival machine.
- When a player chooses a starter Pokémon (great for starter-based starter kits!).
- When a Pokémon ticks in the world (optimized to be cheap).
- When a Pokémon participates in a battle on the victors’ side.
- When a Pokémon levels up.
- Adds a bunch of Cobblemon-relevant conditions:
- Drop stuff where you want stuff to drop, per-dropper type, with an override per dropper.
- Drop it in the player’s inventory.
- Drop it in the player’s ender storage.
- Drop it next to the Pokémon entity.
- Give it to the Pokémon as a held item.
- Replace the Pokémon’s held item.
- Completely customizable with datapacks.
- Easy to add new parts for droppers, event handlers, conditions, and drop targets in your own mod.
- A new secondary layer between the event and the loot table makes the system much more malleable, replacing the old
/species/formpattern. - Preserves Cobblemon-given drops if instructed to for things Cobblemon already drops for.
Dependencies
Testing
Check out the demo pack below. It has the following basic examples:
- Capturing a ghost-type Pokémon in the nether with a Dusk Ball gives a ghast tear directly to the capturing player’s inventory.
- Defeating a Kingambit in a Pokémon battle with either a Bisharp or Pawniard drops a stick named “Leader Crest” to the Bisharp/Pawniard owner’s inventory.
- Evolving an Eevee gives a type gem of the same type as the evolution (Electric Gem for Jolteon, Water Gem for Vaporeon, etc).
- Hatching a Milcery gives a random sweet. You’ll need a hatching mod, such as Cobbreeding as breeding’s not a thing yet in base mod.
- A Pidgey dying while it’s on fire will drop cooked chicken.
- Leveling up any Pokémon to level 50 will give the Pokémon’s owner a Fresh Start Mochi.
- Releasing a Pokemon below level 50 will grant an Exp. Candy S, between 51 and 75 an Exp. Candy M, and above 75 an Exp. Candy L.
- Resurrecting a Pokémon using the fossil revival machine has a chance to give another fossil of that generation.
- Picking a starter gives the player a starter kit matching the color of the type of the Pokémon picked.
- The Pidgey line will drop a feather or a random Pokémon feather every 20 ticks and emit a wing flapping sound.
- A Shuckle participating in battle on the winning side while holding a berry will turn that berry into berry juice.
Player Help
Addon Dev Help
Data Pack Help
Mod Dev Help
Parts
Known Issues
- ≤v1.7.3-1.9.0 had an issue with trying to run the tick dropper too early and getting a null for its own ID. Yeah, doesn’t make sense to me either. ≥v1.7.3-1.9.1 fixes this by allowing for the ID to be null, and safely failing by not finding any droppers if that’s the case.
Roadmap
If you’d like to keep up with the work being done on the mod, please join the Discord and subscribe to notifications on the channel for this content. You can also keep track of the to do list available on the mod’s main page.
Feedback
If you have any questions or requests concerning the mod, or just want to drop by and say hi, visit us over at the Discord!
Support
If I've made something you enjoyed or helped you make something, please consider dropping a tip in the cup and mention how I helped if you'd like!
下载 Cobblemon Drop Loot Tables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cobblemon Drop Loot Tables
下载 Cobblemon Drop Loot Tables
下载 Cobblemon Drop Loot Tables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cobblemon Drop Loot Tables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cobblemon Drop Loot Tables
下载 Cobblemon Drop Loot Tables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Cobblemon Drop Loot Tables
下载 Cobblemon Drop Loot Tables
下载 Cobblemon Drop Loot Tables
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
更新内容
- 将 Bumpity 适配至 Cobblemon 1.8.4。
- 开发发布流程升级,由 gitoido 提供技术支持。
- 重写了胜利者掉落机制:改为每位胜利者仅有一次掉落机会,而非每位胜利者与败者组合各一次。
完整变更日志:
- 修复了在打包构建中,进化与宝可梦死亡的基础掉落混入未正确应用的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
一个基于构建器的 Minecraft 配置库!
模组
让你能够在世界中的任何位置定位结构。
模组
为你的终界增添新生物群系、神秘仪式和全新生物
模组
? 使用命令保存和加载玩家或他人的背包/套装。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
评论 0
登录后参与评分
还没有评论,来抢沙发吧