← Назад к ресурсам

Cobblemon Wild Spawn

Explore grass, water and natural areas to trigger classic wild grass spawn. Pokémon wild encounters, shiny hunt rare Pokémon and relive the experience from the original games.

Modrinth

Описание

![Logo](https://i.imgur.com/TX7UPGW.png) --- ## 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. - Repel Incense to protect a configurable area around your home or base. - 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. --- ## Repel Incense Repel Incense is a placeable item for players who want a permanent safe area. Place it in your house, base, farm, or any area where you do not want this mod to trigger wild encounters. By default, it protects a 24-block radius around the placed incense. Server owners can change that radius with `repelIncenseRadius`. --- ## 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 | ![Repel Recipe](https://i.imgur.com/NeXgOrI.png) | | Super Repel | Paper, Iron Ingot, Coal | ![Super Repel Recipe](https://i.imgur.com/IptuKD6.png) | | Max Repel | Paper, Gold Ingot, Coal | ![Max Repel Recipe](https://i.imgur.com/dygWodQ.png) | | Repel Incense | Paper, Gold Ingot, Max Repel, Coal | ![Repel Incense Recipe](https://i.imgur.com/xmE6Gz7.png) | ### Standard Lure Recipes | Item | Ingredients | Recipe | | --- | --- | --- | | Lure | Paper, Copper Ingot, Glass Bottle | ![Lure Recipe](https://i.imgur.com/ff4rcMc.png) | | Super Lure | Paper, Iron Ingot, Glass Bottle | ![Super Lure Recipe](https://i.imgur.com/yaMo0ni.png) | | Max Lure | Paper, Gold Ingot, Glass Bottle | ![Max Lure Recipe](https://i.imgur.com/9435tea.png) | ### 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 | ![Normal Type Lure Recipe](https://i.imgur.com/3IYCnmK.png) | | Fire Type Lure | Blaze Powder | ![Fire Type Lure Recipe](https://i.imgur.com/8oGI6S1.png) | | Water Type Lure | Prismarine Crystals | ![Water Type Lure Recipe](https://i.imgur.com/z0JkzfR.png) | | Electric Type Lure | Redstone | ![Electric Type Lure Recipe](https://i.imgur.com/vpx50vb.png) | | Grass Type Lure | Wheat Seeds | ![Grass Type Lure Recipe](https://i.imgur.com/kGu27v0.png) | | Ice Type Lure | Snowball | ![Ice Type Lure Recipe](https://i.imgur.com/sShDfo0.png) | | Fighting Type Lure | Leather | ![Fighting Type Lure Recipe](https://i.imgur.com/NkoqgZk.png) | | Poison Type Lure | Spider Eye | ![Poison Type Lure Recipe](https://i.imgur.com/kroPHvY.png) | | Ground Type Lure | Dirt | ![Ground Type Lure Recipe](https://i.imgur.com/JhV9k7u.png) | | Flying Type Lure | Feather | ![Flying Type Lure Recipe](https://i.imgur.com/oIfcQzX.png) | | Psychic Type Lure | Amethyst Shard | ![Psychic Type Lure Recipe](https://i.imgur.com/p644ImH.png) | | Bug Type Lure | String | ![Bug Type Lure Recipe](https://i.imgur.com/t1OZ3Of.png) | | Rock Type Lure | Cobblestone | ![Rock Type Lure Recipe](https://i.imgur.com/S3lPsv6.png) | | Ghost Type Lure | Soul Sand | ![Ghost Type Lure Recipe](https://i.imgur.com/zw3V1aN.png) | | Dragon Type Lure | Ender Pearl | ![Dragon Type Lure Recipe](https://i.imgur.com/nhUpGF8.png) | | Dark Type Lure | Coal | ![Dark Type Lure Recipe](https://i.imgur.com/tKMkQ9o.png) | | Steel Type Lure | Iron Ingot | ![Steel Type Lure Recipe](https://i.imgur.com/qtzb0qj.png) | | Fairy Type Lure | Glowstone Dust | ![Fairy Type Lure Recipe](https://i.imgur.com/VUYrStj.png) | --- ## 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 are inside a Repel Incense protected area. - 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: ```text config/cobblemongrassspawn/default.yml ``` | Setting | Default | Description | | --- | --- | --- | | `version` | `2.0.0` | Config schema version used to run legacy migrations only once. | | `encounterChance` | `8.0` | Grass encounter probability as a percentage from `0.0` to `100.0`. | | `encounterChanceSolid` | `2.0` | Configured solid-block encounter probability as a percentage from `0.0` to `100.0`. | | `encounterChanceWater` | `4.0` | Water encounter probability as a percentage from `0.0` to `100.0`. | | `shinyChance` | `0.09765625` | Base shiny probability as a percentage from `0.0` to `100.0`. | | `shinyChanceWithLure` | `0.1953125` | Shiny probability with any active Lure as a percentage from `0.0` to `100.0`. | | `aspectChance` | `2.0` | Probability of applying a valid aspect/form as a percentage from `0.0` to `100.0`. | | `cooldown` | `4.0` | Time in seconds before another encounter can happen after a check. | | `autoStartBattles` | `true` | Whether wild encounters immediately start a Cobblemon battle. | | `disableCobblemonSpawns` | `false` | Prevents new Pokemon from being spawned by Cobblemon's own world spawner. Existing wild Pokemon are left untouched. | | `manualEncounterDespawnDistance` | `24.0` | Distance in blocks before a non-automatic encounter Pokemon is removed. | | `repelIncenseRadius` | `24` | Radius in blocks around a placed Repel Incense where this mod will not start wild encounters. | | `typeLureWeightMultiplier` | `3.0` | Weight boost for Pokemon that match the active Type Lure. | | `passthroughBlocks` | See `default.yml` | Blocks like grass, flowers, vines, saplings, snow, and mushrooms that can trigger movement encounters. | | `solidBlocks` | See `default.yml` | Solid blocks like sand, ice, snow, soul soil, soul sand, netherrack, and nether bricks that can trigger movement encounters. | | `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` | `360.0` | Duration of a Lure in seconds (6 minutes). | | `superLureDuration` | `720.0` | Duration of a Super Lure in seconds (12 minutes). | | `maxLureDuration` | `1800.0` | Duration of a Max Lure in seconds (30 minutes). | | `typeLureDuration` | `1800.0` | Duration of any Type Lure in seconds (30 minutes). | | `normalRepelDuration` | `360.0` | Duration of a Repel in seconds (6 minutes). | | `superRepelDuration` | `720.0` | Duration of a Super Repel in seconds (12 minutes). | | `maxRepelDuration` | `1800.0` | Duration of a Max Repel in seconds (30 minutes). | All probability settings use percentages from `0.0` to `100.0`; for example, `1.0` means 1%. `cooldown`, Lure durations, and Repel durations use decimal seconds (`3.0` is 3 seconds). Duration values must convert exactly to whole ticks, and the minimum applied duration is 20 ticks (1 second). Minecraft runs at 20 ticks per second. Client-only settings are created here: ```text 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`. | | `wildEncounterGlow` | `true` | Whether this client renders the colored glow around wild encounter Pokemon created by this mod. | These settings are local to each client. Server config does not force them. --- ## Commands ```text /grassspawn reload /grassspawn client reload ``` `/grassspawn reload` reloads the server config without restarting the game. Required permission level: `2`. `/grassspawn client reload` reloads `client.yml` only for the client that runs it.