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 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 legendary Pokémon.
Features

- 4 capsule rarities:
- Normal — 15% chance to give a common/uncommon Pokémon.
- 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✨
- Legendary Pokémon that the Legendary capsule can give are configurable.
- 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.
Crafting
Note: Works any pokeball

Default configuration locations (included in the mod)
Legendary list (config file):
config/cobble-gacha-machine/legendaries.json
{
"_comment": "Lista de Pokémon disponibles en las cápsulas legendarias. Puedes agregar o quitar Pokémon según lo desees.",
"legendary_pokemon": [
"arceus",
"articuno",
"azelf",
"calyrex",
"celebi",
"chienpao",
"chiyu",
"cobalion",
"cosmoem",
"cosmog",
"cresselia",
"darkrai",
"deoxys",
"dialga",
"diancie",
"enamorus",
"entei",
"eternatus",
"fezandipiti",
"genesect",
"giratina",
"glastrier",
"groudon",
"heatran",
"hooh",
"hoopa",
"jirachi",
"keldeo",
"koraidon",
"kubfu",
"kyogre",
"kyurem",
"landorus",
"latias",
"latios",
"lugia",
"lunala",
"magearna",
"manaphy",
"marshadow",
"melmetal",
"meloetta",
"meltan",
"mesprit",
"mew",
"mewtwo",
"miraidon",
"moltres",
"munkidori",
"necrozma",
"ogerpon",
"okidogi",
"palkia",
"pecharunt",
"phione",
"raikou",
"rayquaza",
"regice",
"regidrago",
"regieleki",
"regigigas",
"regirock",
"registeel",
"reshiram",
"rnadus",
"shaymin",
"silvally",
"solgaleo",
"spectrier",
"suicune",
"tapubulu",
"tapufini",
"tapukoko",
"tapulele",
"terapagos",
"terrakion",
"thundurus",
"tinglu",
"ultranecrozma",
"urshifu",
"uxie",
"victini",
"virizion",
"volcanion",
"wochien",
"xerneas",
"yveltal",
"zacian",
"zamazenta",
"zapdos",
"zarude",
"zekrom",
"zeraora",
"zygarde"
]
}
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
Accepted coin items (can be overridden with a datapack):
data/cobble-gacha-machine/tags/item/coin_items.json
By default this tag contains: Cobblemon Relic Coin, Emerald, and Diamond.
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/
❌ Wrong:
my_pack.zip
└── my_pack/
├── pack.mcmeta
└── data/
- Place the final .zip file inside /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/legendaries.json if you want to customize the legendary pool.


