Cobblemon Drop Loot Tables
Customize Pokémon loot drops using Minecraft's loot tables.
介绍
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:
- Match a Pokémon or any Pokémon on a team, leveraging the power of
PokemonMatchers from Tim Core. - Match the PokeBall a Pokémon’s caught with.
- Match a player’s Pokedex knowledge on a Pokémon.
- Match a player’s current Counter values.
- 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 支持哪些 Minecraft 版本?
Cobblemon Drop Loot Tables 支持 Minecraft Java 版 1.20.1–1.21.1,共 3 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。
Cobblemon Drop Loot Tables 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
tmetcalfe89 的其他作品
查看全部 →Cobblemon Capture XP
捕获野生宝可梦时,为你的队伍提供经验值。
Cobblemon Tim Core
如果我的 Cobblemon 模组不用一堆复制粘贴就能运行呢?
Cobblemon Spawn Notification
如果游戏能提醒你重要生物生成的位置呢?
Cobblemon Counter
一款用于记录 Cobblemon 野生宝可梦击败数、捕获数和连胜的实用模组。
评论
登录后评论和评分