Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Cobblemon Gacha Machine

A configurable gacha / capsule machine block for Fabric Minecraft that can reward items and Pokémon. Put a Coin (Cobblemon Relic Coin, Emerald, or Diamond) in the machine and get a capsule — then receive randomized rewards depending on the capsule rarity. Fully configurable loot tables, accepted coin items and a configurable list of Pokémon.
Features

- 4 capsule rarities:
- Normal — 15% chance to give a common/uncommon Pokémon.
- 1 in 2048 chance to be Shiny✨
- Rare — 30% chance to give a uncommon/rare Pokémon.
- 1 in 1024 chance to be Shiny✨
- Ultra Rare — 50% chance to give a ultra-rare Pokémon.
- 1 in 512 chance to be Shiny✨
- Legendary — 100% chance to give a legendary/mythical Pokémon.
- 1 in 256 chance to be Shiny✨
- Normal — 15% chance to give a common/uncommon Pokémon.
- Pokémon that you haven't caught will be more likely to appear in capsules.
- Pokémon in each capsule can be modified in the configuration file.
- Loot tables for each capsule can be swapped or overridden via a datapack.
- Configurable accepted coin items (which items the machine accepts as currency) via a datapack.
- Works with Cobblemon 1.7 (for 1.6.1 use v1.4.5) and other mods that add spawns.
- Compatible with Mega Showdown!
NOTE: For the legendary capsule to work, you need to add a mod/datapack that adds these spawns (Ex: MysticMons, AllTheMons, AllTheMons x Mega Showdown, etc) and
if you use a data pack to add legendary Pokémon MAKE SURE TO ADD THE DATAPACK TO /saves/<Your World>/datapacks OR use a customList in the configuration file if you want to customize.
I recommend using Global Packs if you want to have the datapacks in all your worlds without having to copy and paste.
Crafting
Note: Works with any Poké Ball.

Default configuration location
config/cobble-gacha-machine/default.json
NOTE: You only need to modify the values or the customList; do not delete any options, or the mod will fail
- poolSize: Number of capsules that spin in the gacha (Generated capsules)
- coinsToSpin: Coins to spin the gacha.
- megashowdownItems: This edits the loot table to add the Mega Showdown items; if you don't want to add them or prefer to add them manually (datapack), disable this option.
- capsuleWeight: Capsules with a higher weight will appear more frequently, while those with a lower value will be rarer to obtain
- pokemonSpawnChance: Probability that a Pokémon will spawn 0.0 (0% No spawn) 1.0 (100% Always)
- shinyChance: 1 in X chance to be shiny.
- pokemonMinLevel/pokemonMaxLevel: The Pokémon will spawn between these levels, including the value
- pokemonPool: Pokémon pools can be common, uncommon, rare and ultra-rare. Legendary pools are not exactly pools; they are the internal labels of Pokémon of each species, because the legendary ones are also ultra-rare. (I recommend not modifying this option in the legendary capsule)
- poolMinWeight/poolMaxWeight: The Pokémon will be selected between these weights, including the value; Low values are rare Pokémon, high values are more common.
Official Cobblemon Pools/Weights are used. Cobblemon Pools/Weights
{
"poolSize": 15,
"megashowdownItems": true,
"coinsToSpin": 1,
"capsules": {
"normal": {
"capsuleWeight": 70.0,
"pokemonSpawnChance": 0.15,
"shinyChance": 2048,
"pokemonMinLevel": 5,
"pokemonMaxLevel": 20,
"pokemonPool": [
"common",
"uncommon"
],
"poolMinWeight": 1.0,
"poolMaxWeight": 100.0,
"customList": []
},
"ultra_rare": {
"capsuleWeight": 7.0,
"pokemonSpawnChance": 0.5,
"shinyChance": 512,
"pokemonMinLevel": 30,
"pokemonMaxLevel": 50,
"pokemonPool": [
"ultra-rare"
],
"poolMinWeight": 0.001,
"poolMaxWeight": 100.0,
"customList": []
},
"legendary": {
"capsuleWeight": 3.0,
"pokemonSpawnChance": 1.0,
"shinyChance": 256,
"pokemonMinLevel": 50,
"pokemonMaxLevel": 100,
"pokemonPool": [
"legendary",
"mythical"
],
"poolMinWeight": 0.001,
"poolMaxWeight": 100.0,
"customList": []
},
"rare": {
"capsuleWeight": 20.0,
"pokemonSpawnChance": 0.3,
"shinyChance": 1024,
"pokemonMinLevel": 15,
"pokemonMaxLevel": 35,
"pokemonPool": [
"uncommon",
"rare"
],
"poolMinWeight": 0.01,
"poolMaxWeight": 10.0,
"customList": []
}
}
}
Custom List
If you want to add a custom list, you can add it to customList as follows: (Please note that this will ignore the pokemonPool, poolMinWeight, and poolMaxWeight options)
The weight of each Pokémon will be used to select it; a high weight is more likely to appear.
The species names are the file names in Species but here's a trick if you don't know the species of a Pokémon: write the name in lowercase letters and without spaces. Many mods add their Pokémon this way, so “Tapu Koko” becomes “tapukoko” for example
{
"poolSize": 15,
"megashowdownItems": true,
"coinsToSpin": 1,
"capsules": {
"normal": {
"capsuleWeight": 70.0,
"pokemonSpawnChance": 0.15,
"shinyChance": 2048,
"pokemonMinLevel": 5,
"pokemonMaxLevel": 20,
"pokemonPool": [
"common",
"uncommon"
],
"poolMinWeight": 1.0,
"poolMaxWeight": 100.0,
"customList": []
},
"ultra_rare": {
"capsuleWeight": 7.0,
"pokemonSpawnChance": 0.5,
"shinyChance": 512,
"pokemonMinLevel": 30,
"pokemonMaxLevel": 50,
"pokemonPool": [
"ultra-rare"
],
"poolMinWeight": 0.001,
"poolMaxWeight": 100.0,
"customList": []
},
"legendary": {
"capsuleWeight": 3.0,
"pokemonSpawnChance": 1.0,
"shinyChance": 256,
"pokemonMinLevel": 50,
"pokemonMaxLevel": 100,
"pokemonPool": [
"legendary",
"mythical"
],
"poolMinWeight": 0.001,
"poolMaxWeight": 100.0,
"customList": [
{
"name": "dratini",
"weight": 5.0
},
{
"name": "mew",
"weight": 2.0
},
{
"name": "mewtwo",
"weight": 2.0
}
]
},
"rare": {
"capsuleWeight": 20.0,
"pokemonSpawnChance": 0.3,
"shinyChance": 1024,
"pokemonMinLevel": 15,
"pokemonMaxLevel": 35,
"pokemonPool": [
"uncommon",
"rare"
],
"poolMinWeight": 0.01,
"poolMaxWeight": 10.0,
"customList": []
}
}
}
Loot tables
Loot tables (can be overridden with a datapack):
data/cobble-gacha-machine/loot_table/capsules/normal_capsule.json
data/cobble-gacha-machine/loot_table/capsules/rare_capsule.json
data/cobble-gacha-machine/loot_table/capsules/ultra_rare_capsule.json
data/cobble-gacha-machine/loot_table/capsules/legendary_capsule.json (It doesn't exist, but you can copy any of the others and create it.)
Accepted coin items (can be overridden with a datapack):
data/cobble-gacha-machine/tags/item/coin_items.json
You can edit the recipe in the following path in your data pack
data/cobble-gacha-machine/recipe/gacha_block.json
Datapack
This template lets you easily customize your Cobble Gacha Machine loot tables and coins.
🛠️ How to edit:
-
Extract the ZIP and edit its contents as you like.
-
When re-zipping it, make sure the ZIP does not contain an extra folder at the top level — the files pack.mcmeta and the data folder must be at the root of the archive.
✅ Correct:
my_pack.zip
├── pack.mcmeta
└── data/
└───── cobble-gacha-machine/
└─────────── loot_table/
└───────────────── capsules/
└────────────────────── normal_capsule.json
└────────────────────── rare_capsule.json
└────────────────────── ultra_rare_capsule.json
└─────────── recipe/
└───────────────── gacha_block.json
└─────────── tags/
└───────────────── item/
└────────────────────── coin_items.json
❌ Wrong:
my_pack.zip
└── my_pack/
├── pack.mcmeta
└── data/
- Place the final .zip file inside /datapacks OR /saves/<Your World>/datapacks folder.
Installation
- Install Cobblemon (required for Pokémon spawning / integration). Version should match the game/mod compatibility.
- Place the mod .jar into your mods/ folder and start the game/server.
- (Optional) Add a datapack to override loot tables or coin item.
- Configure config/cobble-gacha-machine/default.json if you want to customize the pool.


