Compatibility
Minecraft: Java Edition
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
🟢 WildEncounters ⚪
WildEncounters in the Cobblemon mod. This datapack brings the iconic Wild Grass mechanic from Pokémon into Minecraft, allowing players to encounter random wild Pokémon while walking through tall grass!⚙️ How it works 📖
By walking into a small patch of grass there is a small chance for a wild Pokémon to appear. These Pokémon will spawn right near the player, adding an exciting and unpredictable element to your exploration. Customize the types of Pokémon that can appear and their spawn rates. Whether you're recreating a classic Pokémon experience or adding a unique twist to your Minecraft world, this datapack will bring your adventures to life!
📝 Change Pokémon 📝
Important Note: Modifying datapacks can be challenging for beginners. Proceed with caution! ⚠️To customize the Pokémon that spawn, you'll need to have the datapack folder unzipped and placed in your datapacks directory. Once unzipped, navigate to the following location:
WildEncountersDatapack\data\wildencounters\function\spawnIn this file, you'll find a list of all the Pokémon that can spawn in the grass.
To change a Pokémon from the list change this part of the function:
# Rattata execute as @a[scores={Spawn=1}] at @s run pokespawn rattata lvl=9 execute as @a[scores={Spawn=2}] at @s run pokespawn rattata lvl=18 execute as @a[scores={Spawn=3}] at @s run pokespawn rattata lvl=33 execute as @a[scores={Spawn=1..3}] at @s run tellraw @s {"text":"A wild Rattata has appeared!","color":"green"}
If you wanted to change the Pokémon to Pikachu you'd change the part of the function to this:
# Pikachu execute as @a[scores={Spawn=1}] at @s run pokespawn pikachu lvl=9 execute as @a[scores={Spawn=2}] at @s run pokespawn pikachu lvl=18 execute as @a[scores={Spawn=3}] at @s run pokespawn pikachu lvl=33 execute as @a[scores={Spawn=1..3}] at @s run tellraw @s {"text":"A wild Pikachu has appeared!","color":"green"}
If you want to change the level at which a Pokémon spawns, you'd only change the lvl= part.
You can also change the chance for a Pokémon to spawn by modifying this line: execute store result score @s Spawn run random value 1..1650. Since there are 3 level spawner lines for each Pokémon, the chance of a Pokémon spawning are 96/1650 around 5%. You can change the chance of a Pokémon spawning by changing the right value 1650 to something else.
To add more Pokémon just add these lines to the spawner file with the correct values:
# Pikachu execute as @a[scores={Spawn=97}] at @s run pokespawn pikachu lvl=9 execute as @a[scores={Spawn=98}] at @s run pokespawn pikachu lvl=18 execute as @a[scores={Spawn=99}] at @s run pokespawn pikachu lvl=33 execute as @a[scores={Spawn=97..99}] at @s run tellraw @s {"text":"A wild Pikachu has appeared!","color":"green"}
If the last value is 96 the next ones will be 97, 98 and 99 and so on.
Have some issues? You can join the Official Cobblemon discord server, search for 'MoreRecipes' and ask your questions there, or alternatively, you can DM me on discord.