Myths and Legends [Cobblemon Addon]
The Myths and Legends addon for Cobblemon fundamentally changes Pokémon spawning mechanics by introducing a key item system. Now, certain Pokémon only appear when specific conditions related to items in the player's inventory are met.
Core Features
When a player carries special key items in their inventory, unique Pokémon begin to spawn around them. Each Pokémon requires all necessary conditions to be fulfilled for its appearance. This system works independently for each player on the server.
Key items can be found in specific loot chests by default. Item rarity and loot tables can be configured through configuration files, allowing players to adapt the gameplay experience to their preferences.
Important Notice
Attention: For versions above 1.3, you must use the Myths and Legends datapack or create your own. The official datapack is available in a public GitHub repository for those who want to customize it.
Documentation
A wiki page is available with complete information about current Pokémon spawn settings from the datapack.
Creating Custom Spawn Conditions
Want to create unique Pokémon spawn conditions? You can add your own spawn settings by following the detailed guide on creating custom spawn conditions in the Cobblemon world.
Additional Conditions
Key Item Conditions
key_item: Checks for a specific key item in the player's inventory- Example usage:
"key_item": "tidal_bell"
- Example usage:
Custom Item Conditions
-
custom_key_item: Checks for a specific amount of a custom key item and consumes it if necessary"custom_key_item": { "id": "minecraft:emerald", "count": 10, "consume": true } -
custom_secondary_item: Checks for a specific amount of a secondary item"custom_secondary_item": { "id": "minecraft:emerald", "count": 10, "consume": true }
The consume flag works independently of configuration settings, ensuring item consumption during condition checks.
Evolution Item Conditions
The mod adds checks for various evolution stones and items:
thunder_stone_requirement: Checks thunder stone quantitywater_stone_requirement: Checks water stone quantityice_stone_requirement: Checks ice stone quantityfire_stone_requirement: Checks fire stone quantity- And many others including dragon scales, metal coats, and various evolution items
Pokémon Team Conditions
The mod allows checking for specific legendary Pokémon in the player's team:
arceus_in_team_requirement: Checks for Arceus presencearticuno_in_team_requirement: Checks for Articuno presencedarkrai_in_team_requirement: Checks for Darkrai presence- And many other legendary Pokémon
Custom Pokémon Species Conditions
custom_pokemon_in_team: Checks for a specific amount of a particular Pokémon species in the team"custom_pokemon_in_team": { "species": "pikachu", "count": 2 }
Example Spawn Configuration File
{
"enabled": true,
"neededInstalledMods": [],
"neededUninstalledMods": [],
"spawns": [
{
"id": "articuno-1",
"pokemon": "articuno",
"presets": [
"natural"
],
"type": "pokemon",
"context": "grounded",
"bucket": "ultra-rare",
"level": "50-60",
"weight": 0.1,
"condition": {
"canSeeSky": true,
"biomes": [ "minecraft:snowy_plains" ],
"key_item": "tidal_bell",
"ice_stone_requirement": "3"
}
}
]
}
Item List in the Mod
The mod adds numerous key items, including:
- adamant_orb
- aurora_ticket
- azure_flute
- blue_orb
- bonus_disk
- clear_bell
- cocoon_of_destruction
- dark_stone
- dna_splicer
- And many other unique items
Configuration Settings
The config.toml file in the config/MythsAndLegends folder contains the following settings:
inventory_check_interval: Inventory check interval in Minecraft ticksconsume_items_on_successful_spawn: Determines whether items are consumed on successful spawnignore_key_items: If true, when both key item and item conditions are set, only items are consumedinventory_check_item_list: List of items to check in inventory- Broadcast notification settings for Pokémon appearances
- Force spawn parameters
Admin Commands
The mod adds several commands for administrative control:
/mythsandlegends listitems [player_name]- shows key items in inventory/mythsandlegends checkinventory [player_name]- performs manual inventory check/mythsandlegends listpokemon [player_name]- shows Pokémon in player's team
Language File Customization
Resource pack creators can customize the mod's text messages through language files in the resource pack folder. Settings are available for commands and chat notifications.
Frequently Asked Questions
Q: How do legendary Pokémon spawn in Cobblemon? A: Players must have specific key items in their inventory and be in the correct biome. The mod automatically checks inventory every 2 minutes 30 seconds by default.
Q: Do all configured Pokémon appear in the game? A: Yes, every configured Pokémon appears when all spawn conditions are met.
Q: Can I modify spawn conditions for Cobblemon? A: Yes, with the standalone version of the Myths and Legends addon, you can create your own spawn settings.
Q: Are datapacks and resource packs compatible with this mod? A: Yes, datapacks and resource packs can work alongside this mod, adding models for legendary and mythical Pokémon.