Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
The mod ID has been changed from “cobble-gacha-machine” to “cobblegachamachine”. If you have a datapack, update the folder name.
Required mod: Architectury API 13.0.8
Cobblemon Gacha Machine

English
A configurable gacha / capsule machine block for Fabric Minecraft that can reward items and Pokémon. Put a Coin (Relic coin pouch 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 — 25% 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.1 (The latest versions do not work on 1.6.1) and other mods that add spawns (ex: AllTheMons, MysticMons, AllTheMons x Mega Showdown or any mod or datapack).
- Compatible with Mega Showdown!
Crafting
Note: Works with any Poké Ball.

Configuration
Default configuration location
config/cobblegachamachine/default.json
If you modify the file, you can reload it using the following command. You must be an OP or be in singleplayer mode.
/gacha reload
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)
- 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.
- coinsToSpin: Coins to spin the gacha.
- skipAnimationButton: You can show (true) or hide (false) the button to skip the gacha animation.
- 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. It must be a whole number without decimals.
- pokemonMinLevel/pokemonMaxLevel: The Pokémon will spawn between these levels, including the value. It must be a whole number without decimals.
- 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. You can use labels (legendary, mythical) instead of official pools (common, uncommon, rare, ultra-rare) such as the legendary capsule, but not both.
- 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. If you use labels (legendary, mythical) instead of official pools, these options are ignored.
Official Cobblemon Pools/Weights are used. Cobblemon Pools/Weights
{
"poolSize": 15,
"megashowdownItems": true,
"coinsToSpin": 3,
"skipAnimationButton": true,
"capsules": {
"normal": {
"capsuleWeight": 87.0,
"pokemonSpawnChance": 0.15,
"shinyChance": 2048,
"pokemonMinLevel": 5,
"pokemonMaxLevel": 20,
"pokemonPool": [
"common"
],
"poolMinWeight": 0.15,
"poolMaxWeight": 100.0,
"customList": []
},
"ultra_rare": {
"capsuleWeight": 2.0,
"pokemonSpawnChance": 0.5,
"shinyChance": 512,
"pokemonMinLevel": 30,
"pokemonMaxLevel": 50,
"pokemonPool": [
"ultra-rare"
],
"poolMinWeight": 0.002,
"poolMaxWeight": 10.0,
"customList": []
},
"legendary": {
"capsuleWeight": 0.35,
"pokemonSpawnChance": 1.0,
"shinyChance": 256,
"pokemonMinLevel": 50,
"pokemonMaxLevel": 100,
"pokemonPool": [
"legendary",
"mythical"
],
"poolMinWeight": 0.0,
"poolMaxWeight": 0.0,
"customList": []
},
"rare": {
"capsuleWeight": 10.0,
"pokemonSpawnChance": 0.25,
"shinyChance": 1024,
"pokemonMinLevel": 15,
"pokemonMaxLevel": 35,
"pokemonPool": [
"uncommon",
"rare"
],
"poolMinWeight": 0.0032,
"poolMaxWeight": 100.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": 3,
"skipAnimationButton": true,
"capsules": {
"normal": {
"capsuleWeight": 87.0,
"pokemonSpawnChance": 0.15,
"shinyChance": 2048,
"pokemonMinLevel": 5,
"pokemonMaxLevel": 20,
"pokemonPool": [
"common"
],
"poolMinWeight": 0.15,
"poolMaxWeight": 100.0,
"customList": []
},
"ultra_rare": {
"capsuleWeight": 2.0,
"pokemonSpawnChance": 0.5,
"shinyChance": 512,
"pokemonMinLevel": 30,
"pokemonMaxLevel": 50,
"pokemonPool": [
"ultra-rare"
],
"poolMinWeight": 0.002,
"poolMaxWeight": 10.0,
"customList": []
},
"legendary": {
"capsuleWeight": 0.35,
"pokemonSpawnChance": 1.0,
"shinyChance": 256,
"pokemonMinLevel": 50,
"pokemonMaxLevel": 100,
"pokemonPool": [
"legendary",
"mythical"
],
"poolMinWeight": 0.0,
"poolMaxWeight": 0.0,
"customList": [
{
"name": "dratini",
"weight": 5.0
},
{
"name": "dragonite",
"weight": 1.0
},
{
"name": "mew",
"weight": 0.5
},
{
"name": "mewtwo",
"weight": 0.5
}
]
},
"rare": {
"capsuleWeight": 10.0,
"pokemonSpawnChance": 0.25,
"shinyChance": 1024,
"pokemonMinLevel": 15,
"pokemonMaxLevel": 35,
"pokemonPool": [
"uncommon",
"rare"
],
"poolMinWeight": 0.0032,
"poolMaxWeight": 100.0,
"customList": []
}
}
}
Loot tables
Loot tables (can be overridden with a datapack):
data/cobblegachamachine/loot_table/capsules/normal_capsule.json
data/cobblegachamachine/loot_table/capsules/rare_capsule.json
data/cobblegachamachine/loot_table/capsules/ultra_rare_capsule.json
data/cobblegachamachine/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/cobblegachamachine/tags/item/coin_items.json
You can edit the recipe in the following path in your data pack
data/cobblegachamachine/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.
If you only want to modify the coins, you can delete the
loot_tableandrecipefolders. If you only want to modify the recipe, you can delete theloot_tableandtagsfolders. If you only want to modify the loot tables, you can delete therecipeandtagsfolders. And so on. -
When re-zipping it, make sure the ZIP does not contain an extra folder at the top level — the files
pack.mcmetaand thedatafolder must be at the root of the archive.
✅ Correct:
my_pack.zip
├── pack.mcmeta
└── data/
└───── cobblegachamachine/
└─────────── 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
/saves/<Your World>/datapacksOR/datapacks(If you have Global Packs installed) folder.
Installation
- Install Cobblemon (required for Pokémon spawning / integration). Version should match the game/mod compatibility.
- Place the mod
.jarinto yourmods/folder and start the game/server. - (Optional) Add a datapack to override loot tables or coin item.
- Configure
config/cobblegachamachine/default.jsonif you want to customize the pool.
Español
Un bloque configurable de gacha / máquina cápsula para Fabric Minecraft que puede recompensar con objetos y Pokémon. Inserta una Moneda (Bolsa de Monedas Reliquia o Diamantes) en la máquina y obtén una cápsula — luego recibe recompensas aleatorias según la rareza de la cápsula. Tablas de loot totalmente configurables, objetos aceptados como moneda configurables y una lista de Pokémon configurable.
Características

- 4 rarezas de cápsula:
- Normal — 15% de probabilidad de dar un Pokémon common/uncommon.
- Probabilidad 1 entre 2048 de ser Shiny✨
- Rare — 25% de probabilidad de dar un Pokémon uncommon/rare.
- Probabilidad 1 entre 1024 de ser Shiny✨
- Ultra Rare — 50% de probabilidad de dar un Pokémon ultra-rare.
- Probabilidad 1 entre 512 de ser Shiny✨
- Legendary — 100% de probabilidad de dar un Pokémon legendary/mythical.
- Probabilidad 1 entre 256 de ser Shiny✨
- Normal — 15% de probabilidad de dar un Pokémon common/uncommon.
- Los Pokémon que no hayas capturado tendrán mayor probabilidad de aparecer en las cápsulas.
- Los Pokémon en cada cápsula pueden modificarse en el archivo de configuración.
- Las tablas de loot de cada cápsula pueden intercambiarse o sobrescribirse mediante un datapack.
- Objetos moneda aceptados configurables (qué objetos acepta la máquina como moneda) mediante un datapack.
- Funciona con Cobblemon 1.7.1 (las versiones más recientes no funcionan en 1.6.1) y con otros mods que añaden spawns (p. ej.: AllTheMons, MysticMons, AllTheMons x Mega Showdown o cualquier mod o datapack).
- ¡Compatible con Mega Showdown!
Receta
Nota: Funciona con cualquier Poké Ball.

Configuración
Ubicación por defecto de la configuración
config/cobblegachamachine/default.json
Si modificas el archivo, puedes recargarlo usando el siguiente comando. Debes ser OP o estar en modo un jugador.
/gacha reload
NOTA: Solo necesitas modificar los valores o el customList; no elimines ninguna opción o el mod fallará.
- poolSize: Número de cápsulas que giran en el gacha (cápsulas generadas).
- megashowdownItems: Añade los ítems de Mega Showdown a la tabla de loot; si no quieres añadirlos o prefieres añadirlos manualmente mediante datapack, desactiva esta opción.
- coinsToSpin: Monedas necesarias para girar el gacha.
- skipAnimationButton: Muestra (true) u oculta (false) el botón para saltar la animación del gacha.
- capsuleWeight: Las cápsulas con mayor peso aparecerán con más frecuencia, mientras que las de menor valor serán más raras.
- pokemonSpawnChance: Probabilidad de que aparezca un Pokémon: 0.0 (0% — No aparece) a 1.0 (100% — Siempre aparece).
- shinyChance: Probabilidad 1 en X de ser shiny. Debe ser un número entero sin decimales.
- pokemonMinLevel/pokemonMaxLevel: El Pokémon aparecerá con un nivel entre estos valores, ambos inclusive. Debe ser un número entero sin decimales.
- pokemonPool: Los pools de Pokémon pueden ser common, uncommon, rare y ultra-rare. Los pools legendarios no son exactamente pools; son etiquetas internas de las especies porque los legendarios también son ultra-rare. Puedes usar etiquetas (legendary, mythical) en lugar de pools oficiales (common, uncommon, rare, ultra-rare) como en la cápsula legendary, pero no ambas cosas a la vez.
- poolMinWeight/poolMaxWeight: El Pokémon se seleccionará entre estos pesos, incluidos los valores; valores bajos indican Pokémon raros, valores altos indican Pokémon más comunes. Si usas etiquetas (legendary, mythical) en lugar de pools oficiales, estas opciones se ignoran.
Se usan los Pools/Pesos oficiales de Cobblemon. Cobblemon Pools/Weights
{
"poolSize": 15,
"megashowdownItems": true,
"coinsToSpin": 3,
"skipAnimationButton": true,
"capsules": {
"normal": {
"capsuleWeight": 87.0,
"pokemonSpawnChance": 0.15,
"shinyChance": 2048,
"pokemonMinLevel": 5,
"pokemonMaxLevel": 20,
"pokemonPool": [
"common"
],
"poolMinWeight": 0.15,
"poolMaxWeight": 100.0,
"customList": []
},
"ultra_rare": {
"capsuleWeight": 2.0,
"pokemonSpawnChance": 0.5,
"shinyChance": 512,
"pokemonMinLevel": 30,
"pokemonMaxLevel": 50,
"pokemonPool": [
"ultra-rare"
],
"poolMinWeight": 0.002,
"poolMaxWeight": 10.0,
"customList": []
},
"legendary": {
"capsuleWeight": 0.35,
"pokemonSpawnChance": 1.0,
"shinyChance": 256,
"pokemonMinLevel": 50,
"pokemonMaxLevel": 100,
"pokemonPool": [
"legendary",
"mythical"
],
"poolMinWeight": 0.0,
"poolMaxWeight": 0.0,
"customList": []
},
"rare": {
"capsuleWeight": 10.0,
"pokemonSpawnChance": 0.25,
"shinyChance": 1024,
"pokemonMinLevel": 15,
"pokemonMaxLevel": 35,
"pokemonPool": [
"uncommon",
"rare"
],
"poolMinWeight": 0.0032,
"poolMaxWeight": 100.0,
"customList": []
}
}
}
Lista personalizada
Si quieres añadir una lista personalizada, puedes añadirla a customList de la siguiente manera: (Ten en cuenta que esto ignorará las opciones pokemonPool, poolMinWeight y poolMaxWeight)
El peso de cada Pokémon se usará para seleccionarlo; un peso alto tiene más probabilidad de aparecer.
Los nombres de las especies son los nombres de archivo en Species, pero aquí tienes un truco si no conoces la especie de un Pokémon: escribe el nombre en minúsculas y sin espacios. Muchos mods añaden sus Pokémon de esta forma, por ejemplo “Tapu Koko” se convierte en “tapukoko”.
{
"poolSize": 15,
"megashowdownItems": true,
"coinsToSpin": 3,
"skipAnimationButton": true,
"capsules": {
"normal": {
"capsuleWeight": 87.0,
"pokemonSpawnChance": 0.15,
"shinyChance": 2048,
"pokemonMinLevel": 5,
"pokemonMaxLevel": 20,
"pokemonPool": [
"common"
],
"poolMinWeight": 0.15,
"poolMaxWeight": 100.0,
"customList": []
},
"ultra_rare": {
"capsuleWeight": 2.0,
"pokemonSpawnChance": 0.5,
"shinyChance": 512,
"pokemonMinLevel": 30,
"pokemonMaxLevel": 50,
"pokemonPool": [
"ultra-rare"
],
"poolMinWeight": 0.002,
"poolMaxWeight": 10.0,
"customList": []
},
"legendary": {
"capsuleWeight": 0.35,
"pokemonSpawnChance": 1.0,
"shinyChance": 256,
"pokemonMinLevel": 50,
"pokemonMaxLevel": 100,
"pokemonPool": [
"legendary",
"mythical"
],
"poolMinWeight": 0.0,
"poolMaxWeight": 0.0,
"customList": [
{
"name": "dratini",
"weight": 5.0
},
{
"name": "dragonite",
"weight": 1.0
},
{
"name": "mew",
"weight": 0.5
},
{
"name": "mewtwo",
"weight": 0.5
}
]
},
"rare": {
"capsuleWeight": 10.0,
"pokemonSpawnChance": 0.25,
"shinyChance": 1024,
"pokemonMinLevel": 15,
"pokemonMaxLevel": 35,
"pokemonPool": [
"uncommon",
"rare"
],
"poolMinWeight": 0.0032,
"poolMaxWeight": 100.0,
"customList": []
}
}
}
Tablas de loot
Tablas de loot (pueden ser sobrescritas con un datapack):
data/cobblegachamachine/loot_table/capsules/normal_capsule.json
data/cobblegachamachine/loot_table/capsules/rare_capsule.json
data/cobblegachamachine/loot_table/capsules/ultra_rare_capsule.json
data/cobblegachamachine/loot_table/capsules/legendary_capsule.json (No existe, pero puedes copiar cualquiera de las otras y crearla.)
Objetos moneda aceptados (pueden ser sobrescritos con un datapack):
data/cobblegachamachine/tags/item/coin_items.json
Puedes editar la receta en la siguiente ruta dentro de tu datapack:
data/cobblegachamachine/recipe/gacha_block.json
Datapack
🛠️ Cómo editar:
-
Extrae el ZIP y edita su contenido a tu gusto.
Si solo quieres modificar las monedas, puedes eliminar las carpetas
loot_tableyrecipe. Si solo quieres modificar la receta, puedes eliminar las carpetasloot_tableytags. Si solo quieres modificar las tablas de loot, puedes eliminar las carpetasrecipeytags. Y así sucesivamente. -
Al volver a comprimirlo en ZIP, asegúrate de que el archivo ZIP no contenga una carpeta extra en el nivel superior — los archivos
pack.mcmetay la carpetadatadeben estar en la raíz del archivo.
✅ Correcto:
my_pack.zip
├── pack.mcmeta
└── data/
└───── cobblegachamachine/
└─────────── loot_table/
└───────────────── capsules/
└────────────────────── normal_capsule.json
└────────────────────── rare_capsule.json
└────────────────────── ultra_rare_capsule.json
└─────────── recipe/
└───────────────── gacha_block.json
└─────────── tags/
└───────────────── item/
└────────────────────── coin_items.json
❌ Incorrecto:
my_pack.zip
└── my_pack/
├── pack.mcmeta
└── data/
- Coloca el archivo .zip final dentro de la carpeta
/saves/<Tu Mundo>/datapacksO/datapacks(si tienes Global Packs instalado).
Instalación
- Instala Cobblemon (requerido para el spawn/integración de Pokémon). La versión debe coincidir con la compatibilidad del juego/mod.
- Coloca el
.jardel mod en tu carpetamods/y arranca el juego/servidor. - (Opcional) Añade un datapack para sobrescribir tablas de loot o los objetos moneda.
- Configura
config/cobblegachamachine/default.jsonsi quieres personalizar el pool.


