
About
Cobblemon Grass Spawn makes wild encounters feel closer to the classic Pokemon games.
Walk through grass, move through water, and you may suddenly run into a wild Pokemon. The Pokemon is chosen using Cobblemon's own spawn data, so the area, biome, conditions, and rarity still matter. When an encounter happens, the Pokemon appears near you and, by default, the battle starts right away.
The mod also adds Repels and Lures, giving you more control over when you want encounters, when you want to avoid them, and when you want to hunt for specific Pokemon types.
What It Adds
- Random wild encounters while walking through grass.
- Water encounters while swimming or moving through water.
- Automatic Cobblemon battles when an encounter starts, with an option to only spawn the Pokemon instead.
- Pokemon selected from the current area's valid Cobblemon spawns.
- Wild Pokemon levels based around your party.
- Repels to stop encounters while exploring.
- Lures to improve shiny odds and influence encounter weights.
- Type Lures for every Pokemon type.
- Configurable encounter chances, cooldowns, shiny odds, lure duration, repel duration, and spawn weights.
Repels
Repels are useful when you want to travel without being interrupted by wild battles.
- Repel lasts 6 minutes by default.
- Super Repel lasts 12 minutes by default.
- Max Repel lasts 30 minutes by default.
Using another Repel while Repel is already active extends the current Repel time. If you use a Lure while Repel is active, the Repel is removed and replaced by the Lure.
Lures
Lures are for players who want more active hunting. They improve shiny odds and influence which Pokemon are more likely to be selected.
- Lure lasts 6 minutes by default.
- Super Lure lasts 12 minutes by default.
- Max Lure lasts 30 minutes by default.
Using another standard Lure while one is already active extends the current Lure time. If you use a Repel while a Lure is active, the Lure is removed and replaced by the Repel.
Type Lures
Type Lures help you focus your hunt on a specific Pokemon type.
Available types:
Normal, Fire, Water, Electric, Grass, Ice, Fighting, Poison, Ground, Flying, Psychic, Bug, Rock, Ghost, Dragon, Dark, Steel, and Fairy.
Type Lures last 30 minutes by default.
Type Lures only extend each other when they are the same type. For example, using another Fairy Type Lure while Fairy Type Lure is active extends the time. Using a Fire Type Lure instead replaces the Fairy Type Lure.
Standard Lures and Repels also replace Type Lures.
Recipes
Repel Recipes
| Item |
Ingredients |
Recipe |
| Repel |
Paper, Copper Ingot, Coal |
 |
| Super Repel |
Paper, Iron Ingot, Coal |
 |
| Max Repel |
Paper, Gold Ingot, Coal |
 |
Standard Lure Recipes
| Item |
Ingredients |
Recipe |
| Lure |
Paper, Copper Ingot, Glass Bottle |
 |
| Super Lure |
Paper, Iron Ingot, Glass Bottle |
 |
| Max Lure |
Paper, Gold Ingot, Glass Bottle |
 |
Type Lure Recipes
All Type Lures use Gold Ingots and a Glass Bottle, plus one ingredient related to the type.
| Item |
Type Ingredient |
Recipe |
| Normal Type Lure |
Egg |
 |
| Fire Type Lure |
Blaze Powder |
 |
| Water Type Lure |
Prismarine Crystals |
 |
| Electric Type Lure |
Redstone |
 |
| Grass Type Lure |
Wheat Seeds |
 |
| Ice Type Lure |
Snowball |
 |
| Fighting Type Lure |
Leather |
 |
| Poison Type Lure |
Spider Eye |
 |
| Ground Type Lure |
Dirt |
 |
| Flying Type Lure |
Feather |
 |
| Psychic Type Lure |
Amethyst Shard |
 |
| Bug Type Lure |
String |
 |
| Rock Type Lure |
Cobblestone |
 |
| Ghost Type Lure |
Soul Sand |
 |
| Dragon Type Lure |
Ender Pearl |
 |
| Dark Type Lure |
Coal |
 |
| Steel Type Lure |
Iron Ingot |
 |
| Fairy Type Lure |
Glowstone Dust |
 |
How Encounters Work
When you move through a valid grass or water area, the mod checks whether an encounter should happen. If it does, it looks at the Pokemon that can spawn around you, builds a weighted list, chooses one, spawns it nearby, and starts the battle if automatic battles are enabled.
If autoStartBattles is set to false, the Pokemon appears nearby and the player receives a message instead. If the player moves farther away than manualEncounterDespawnDistance, that Pokemon is removed.
Encounters will not start if:
- You are in spectator mode.
- You are riding something.
- Repel is active.
- You have no usable Pokemon in your party.
- You are already in a battle.
If you flee from a battle created by this mod, the wild encounter Pokemon is removed.
Configuration
The config file is created here:
config/cobblemongrassspawn/default.yml
| Setting |
Default |
Description |
encounterChance |
0.08 |
Chance for a grass encounter check to start a wild encounter. |
encounterChanceWater |
0.05 |
Chance for a water encounter check to start a wild encounter. |
shinyChance |
512 |
Base shiny odds used by this mod. Lower numbers make shinies more common. |
shinyChanceWithLure |
128 |
Shiny odds while any Lure is active, including standard Lures and Type Lures. Lower numbers make shinies more common. |
aspectChance |
50 |
Chance used when the mod tries to apply a valid aspect/form. |
cooldown |
80 |
Time in ticks before another encounter can happen after a check. |
autoStartBattles |
true |
Whether wild encounters immediately start a Cobblemon battle. |
manualEncounterDespawnDistance |
24.0 |
Distance in blocks before a non-automatic encounter Pokemon is removed. |
typeLureWeightMultiplier |
3.0 |
Weight boost for Pokemon that match the active Type Lure. |
bucketWeights.ultra-rare |
2.0 |
Extra weight applied to Cobblemon spawns in the ultra-rare bucket. |
bucketWeights.rare |
10.0 |
Extra weight applied to Cobblemon spawns in the rare bucket. |
bucketWeights.uncommon |
40.0 |
Extra weight applied to Cobblemon spawns in the uncommon bucket. |
bucketWeights.common |
100.0 |
Extra weight applied to Cobblemon spawns in the common bucket. |
normalLureDuration |
7200 |
Duration of a Lure. 7200 ticks is 6 minutes. |
superLureDuration |
14400 |
Duration of a Super Lure. 14400 ticks is 12 minutes. |
maxLureDuration |
36000 |
Duration of a Max Lure. 36000 ticks is 30 minutes. |
typeLureDuration |
36000 |
Duration of any Type Lure. 36000 ticks is 30 minutes. |
normalRepelDuration |
7200 |
Duration of a Repel. 7200 ticks is 6 minutes. |
superRepelDuration |
14400 |
Duration of a Super Repel. 14400 ticks is 12 minutes. |
maxRepelDuration |
36000 |
Duration of a Max Repel. 36000 ticks is 30 minutes. |
Durations are written in ticks. Minecraft runs at 20 ticks per second.
Client-only audio settings are created here:
config/cobblemongrassspawn/client.yml
| Setting |
Default |
Description |
customBattleMusic |
true |
Whether this client plays the mod's custom wild battle music. If disabled, vanilla/Cobblemon ambient music is left untouched. |
customBattleMusicVolume |
0.5 |
Custom battle music volume from 0.0 to 1.0. |
These audio settings are local to each client. Server config does not force them.
Command
/grassspawn reload
Reloads the config without restarting the game.
Required permission level: 2.