Cobblemon: Catch Ball Rules

Quick rating

Community listing page, reviews here may not be monitored by the author.

Cobblemon: Catch Ball Rules

No reviews yet

Cobblemon Catch Ball Rules is a Fabric mod for Minecraft 1.21.1 that lets server owners decide which Pokemon species can only be caught with specific Poke Balls.

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

About

Project Details

Type
Mod
License
MIT License
Latest Version
cobblemon-catch-ball-rules-1.0.0.jar

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

# Cobblemon Catch Ball Rules

Cobblemon Catch Ball Rules is a Fabric mod for Minecraft 1.21.1 that lets server owners decide which Pokemon species can only be caught with specific Poke Balls.

If a species is restricted and the player throws the wrong ball, the capture fails immediately.
If the ball is allowed, Cobblemon handles the rest with its normal catch logic.

## Features

- Restrict specific Pokemon to specific Poke Balls
- Keep rules in a simple JSON config file
- Support Cobblemon balls and custom balls from add-ons or modpacks
- Preserve Cobblemon's normal capture formulas for valid balls
- Reload the config with a command instead of restarting the server
- Optionally refund blocked balls
- Optionally show a custom player message when a catch is blocked

## Requirements

- Minecraft `1.21.1`
- Fabric Loader
- Cobblemon `>=1.7.3 <1.8.0`

## Server And Client Support

- Gameplay enforcement is server-side
- The mod can also be installed on the client and loads cleanly there
- In practice, this is mainly a server-side rules mod

## Installation

1. Install Fabric Loader for Minecraft `1.21.1`
2. Install Cobblemon for the same Minecraft version
3. Put this mod in your `mods` folder
4. Start the game or server once to generate the config file

## Config File

Path:

config/cobblemon_catch_ball_rules.json
 

Example:
{ "consumeBlockedBall": false, "showPlayerMessage": true, "rules": [ { "pokemon": ["mew", "mewtwo", "lugia"], "allowedBalls": ["cobblemon:master_ball"], "message": "&6&lLegendary rule! &r&7This Pokemon can only be captured with a &6Master Ball&7." } ] }
 
## Config Options

- `consumeBlockedBall`
When `false`, the mod refunds the blocked ball. When `true`, the blocked ball is still consumed.
- `showPlayerMessage`
When `true`, the player sees the rule message after a blocked catch. When `false`, the catch is blocked silently.
- `rules`
A list of species-specific catch restrictions.

Each rule contains:

- `pokemon`: a list of species names or species IDs
- `allowedBalls`: a list of allowed Poke Ball item IDs
- `message`: the message shown when a catch is blocked

## Writing Rules

Pokemon values can use either short names or full IDs:

- `"mew"`
- `"cobblemon:mew"`

Ball values should use full item IDs:

- `"cobblemon:poke_ball"`
- `"cobblemon:ultra_ball"`
- `"cobblemon:master_ball"`

Custom balls from other mods or add-ons also work as long as you use the correct item ID.

The `message` field supports Minecraft legacy formatting codes with either `&` codes or section-sign codes.

## Example Rules

Legendary Pokemon that only allow Master Balls:

{
  "pokemon": ["mewtwo"],
  "allowedBalls": ["cobblemon:master_ball"],
  "message": "&4&lBlocked! &r&7This Pokemon can only be captured with a &6Master Ball&7."
}

Ultra Beasts that only allow Beast Balls:

{
  "pokemon": ["nihilego", "buzzwole", "pheromosa"],
  "allowedBalls": ["cobblemon:beast_ball"],
  "message": "This Pokemon reacts only to a Beast Ball."
}

Pokemon that allow more than one ball:

{
  "pokemon": ["articuno"],
  "allowedBalls": ["cobblemon:ultra_ball", "cobblemon:master_ball"],
  "message": "Articuno can only be captured with an Ultra Ball or Master Ball."
}

## Commands

Reload the config without restarting:
/ccbr reload
/cobblemoncatchballrules reload

This command requires operator permission.

## Troubleshooting

- If the config file is missing, the mod creates a default one automatically
- If the config file is invalid JSON, the mod regenerates it with defaults and logs the error
- If a rule seems ignored, check the species ID, ball ID, and whether the species matches one of your configured rules

Logo

Cobblemon Catch Ball Rules

Cobblemon Catch Ball Rules is a Fabric mod for Minecraft 1.21.1 that lets server owners decide which Pokemon species can only be caught with specific Poke Balls, including custom balls added by Cobblemon add-ons or modpacks.

If a species is restricted and the player throws the wrong ball, the capture fails immediately. If the ball is allowed, the mod hands the attempt back to Cobblemon's normal capture logic.

Why Use This Mod

  • Create legendary or mythical catch rules without editing code.
  • Make rare encounters feel more special.
  • Keep rules in a simple JSON file that can be changed at any time.
  • Support both Cobblemon's standard balls and custom balls from add-ons or modpacks, as long as you use the correct item ID.
  • Preserve Cobblemon's normal catch formulas for valid balls instead of replacing the whole system.
  • Reload config changes with a command instead of restarting the whole server.

Requirements

  • Minecraft 1.21.1
  • Fabric Loader
  • Cobblemon >=1.7.3 <1.8.0

Config File

Path:

config/cobblemon_catch_ball_rules.json

Example:

{
  "consumeBlockedBall": false,
  "showPlayerMessage": true,
  "rules": [
    {
      "pokemon": ["mew", "mewtwo", "lugia"],
      "allowedBalls": ["cobblemon:master_ball"],
      "message": "&6&lLegendary rule! &r&7This Pokemon can only be captured with a &6Master Ball&7."
    }
  ]
}

Config Options

consumeBlockedBall

Controls whether a blocked capture should still consume the thrown ball.

  • false: the mod refunds the ball after blocking the capture
  • true: the ball is consumed even though the capture was blocked

showPlayerMessage

Controls whether the player receives the rule's message when a blocked capture happens.

  • true: send the configured message
  • false: block silently

rules

List of species-specific restrictions.

Each rule contains:

  • pokemon: list of species IDs or species paths to match
  • allowedBalls: list of allowed Poke Ball IDs
  • message: message shown when the rule blocks a capture

Styled Messages

The message field supports Minecraft legacy formatting codes.

You can use either:

  • & codes, like &6&lLegendary!

Example:

{
  "pokemon": ["mewtwo"],
  "allowedBalls": ["cobblemon:master_ball"],
  "message": "&4&lBlocked! &r&7This Pokemon can only be captured with a &6Master Ball&7."
}

Writing Rules

Pokemon IDs

You can use either:

  • short species names like "mew"
  • full IDs like "cobblemon:mew"

Ball IDs

Use full item-style IDs such as:

  • "cobblemon:master_ball"
  • "cobblemon:ultra_ball"
  • "cobblemon:poke_ball"

Custom balls work too. If another mod or add-on adds a new catch ball, you can use that ball's item ID in allowedBalls the same way.

Example Rules

Only Master Balls for some legendaries:

{
  "pokemon": ["mew", "mewtwo", "lugia"],
  "allowedBalls": ["cobblemon:master_ball"],
  "message": "&6&lLegendary rule! &r&7This Pokemon can only be captured with a &6Master Ball&7."
}

Only Beast Balls for Ultra Beasts:

{
  "pokemon": ["nihilego", "buzzwole", "pheromosa"],
  "allowedBalls": ["cobblemon:beast_ball"],
  "message": "This Pokemon reacts only to a Beast Ball."
}

Allow several ball choices:

{
  "pokemon": ["articuno"],
  "allowedBalls": ["cobblemon:ultra_ball", "cobblemon:master_ball"],
  "message": "Articuno can only be captured with an Ultra Ball or Master Ball."
}

Reload Command

You can reload the config without restarting the server.

This is useful when you are adjusting rules on a live server or testing config changes in a singleplayer world.

Commands:

/ccbr reload
/cobblemoncatchballrules reload

Requirements:

  • operator/admin level permission

What it does:

  • reloads config/cobblemon_catch_ball_rules.json
  • applies updated rules immediately to future capture attempts

Trying to catch a Mewtwo with a Ultra Ball, but the rule tells you have to use a Master Ball.

Troubleshooting

If the config file is missing, the mod creates a default one automatically.

If the config file is invalid JSON, the mod regenerates it with defaults and logs the error during startup.

If your rules seem ignored:

  • verify the species name or ID matches the target species
  • verify the ball ID matches Cobblemon's actual Poke Ball ID
  • check whether the species has a matching rule in your config

Screenshots

Gallery

  • ccbr-logo.png
    ccbr-logo.png ccbr-logo.png
  • Catching a Mewtwo
    Catching a Mewtwo
  • Catching a Mewtwo
    Catching a Mewtwo

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works