Cobblemon Myths and Legends Addon

Cobblemon Myths and Legends Addon

Mod

The 'Cobblemon Myths and Legends Addon' for Cobblemon Mod introduces key items and new spawning conditions, intended to add encounters with Legendary and Mythical Pokémon, along with pre-made spawns for select key items.

Client and server Game MechanicsUtility

50.9k downloads
68 followers
Created8 months ago
Updated18 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

The Cobblemon Myths and Legends Addon for Cobblemon Mod introduces a dynamic new feature where key items directly influence spawning conditions. These items, when held by a player, fulfill specific conditions, causing certain Pokémon to spawn exclusively around that player(every condition specific to the Pokémon must be fulfilled in order for it to spawn) . This mechanic also applies to multiple players independently, each holding the necessary items.

Key items can be found in selected loot chests by default, with their rarity and specific loot tables configurable in the settings. This allows for a tailored gameplay experience, where players can adjust how and where these items appear in the game world.

Configured Pokémon Conditions

Conditions have already been set for the following Pokémon:

Pokemon Name Biomes and Biome Tags Items Level
Arceus minecraft:the_end Azure Flute 80
minecraft:end_barrens
minecraft:end_highlands
minecraft:end_midlands
minecraft:small_end_islands
minecraft:dark_forest
#byg:is_magical
#wythers:is_dark_forest
byg:skyris_vale
terralith:amethyst_canyon
terralith:amethyst_rainforest
terralith:mirage_isles
terralith:moonlight_grove
terralith:moonlight_valley
wythers:lantern_river
wythers:mushroom_island
wythers:snowy_thermal_taiga
#minecraft:is_end
Articuno minecraft:frozen_ocean Tidal Bell & 3 Ice Stones 50-60
minecraft:frozen_peaks
minecraft:frozen_river
minecraft:snowy_beach
minecraft:snowy_plains
minecraft:snowy_slopes
minecraft:snowy_taiga
#cobblemon:is_cold
#cobblemon:is_freezing
#cobblemon:is_snowy_forest
#cobblemon:is_glacial
#cobblemon:is_frozen_ocean
Celebi minecraft:birch_forest GS Ball 30-70
minecraft:dark_forest
minecraft:flower_forest
minecraft:forest
minecraft:jungle
minecraft:mangrove_swamp
minecraft:meadow
minecraft:old_growth_birch_forest
minecraft:old_growth_pine_taiga
minecraft:old_growth_spruce_taiga
minecraft:swamp
#cobblemon:is_forest
#cobblemon:is_magical
#cobblemon:is_lush
#minecraft:cherry_grove
#cobblemon:is_spring
Darkrai minecraft:dark_forest Member Card 40-50
minecraft:swamp
#cobblemon:is_spooky
#cobblemon:is_dark
#cobblemon:is_deep_dark
Deoxys minecraft:the_end Aurora Ticket 75
minecraft:end_barrens
minecraft:end_highlands
minecraft:end_midlands
minecraft:small_end_islands
#minecraft:is_end
Dialga minecraft:mountain_edge Adamant Orb 47-70
minecraft:stony_peaks
#cobblemon:is_highlands
#cobblemon:is_peak
#cobblemon:is_mountain
Entei minecraft:badlands Clear bell & 3 Fire Stones 50-60
minecraft:eroded_badlands
minecraft:nether_wastes
minecraft:savanna
minecraft:windswept_hills
minecraft:windswept_forest
#cobblemon:is_volcanic
#cobblemon:is_thermal
#cobblemon:is_badlands
Giratina minecraft:soul_sand_valley Griseous Orb 47-70
minecraft:the_end
#minecraft:is_nether
#cobblemon:is_spooky
#cobblemon:is_nether_wasteland
Groudon #cobblemon:is_volcanic Red Orb 45-70
minecraft:badlands
minecraft:desert
minecraft:eroded_badlands
#cobblemon:is_volcanic
#cobblemon:is_desert
#cobblemon:is_arid
#cobblemon:is_thermal
Ho-oh minecraft:meadow Clear Bell 40-70
minecraft:sunflower_plains
minecraft:flower_forest
#cobblemon:is_sky
#minecraft:sunflower_plains
#cobblemon:is_summer
Jirachi minecraft:mushroom_fields Bonus Disk 5-70
minecraft:windswept_gravelly_hills
#cobblemon:is_magical
#cobblemon:is_sparse
Koraidon minecraft:badlands Scarlet Book 68-72
minecraft:eroded_badlands
minecraft:savanna
minecraft:savanna_plateau
#cobblemon:is_savanna
#cobblemon:is_plateau
#cobblemon:is_mountain
Kyogre #minecraft:is_ocean Blue Orb 45-70
minecraft:deep_cold_ocean
minecraft:deep_frozen_ocean
minecraft:deep_ocean
minecraft:ocean
#minecraft:is_deep_ocean
#cobblemon:is_ocean
Kyurem minecraft:frozen_peaks DNA Splicer 75
minecraft:snowy_slopes
minecraft:snowy_taiga
#cobblemon:is_freezing
#cobblemon:is_glacial
#cobblemon:is_snowy_forest
Latias terralith:mirage_isles Eon Ticket 30-50
minecraft:flower_forest
minecraft:birch_forest
#cobblemon:is_coast
#cobblemon:is_temperate
#cobblemon:is_beach
Latios terralith:mirage_isles Eon Ticket 30-50
minecraft:plains
minecraft:mountain_edge
#cobblemon:is_coast
#cobblemon:is_temperate
#cobblemon:is_beach
Lugia #minecraft:is_deep_ocean Tidal Bell 40-70
minecraft:deep_ocean
minecraft:ocean
#cobblemon:is_deep_ocean
#cobblemon:is_ocean
#cobblemon:is_cold_ocean
Mew #minecraft:is_jungle Old Sea Map 30-70
minecraft:bamboo_jungle
minecraft:jungle
#cobblemon:is_jungle
#cobblemon:is_lush
#cobblemon:is_bamboo
Mewtwo minecraft:windswept_gravelly_hills Dr Fujis Diary 70-75
minecraft:dark_forest
minecraft:deep_dark
#cobblemon:is_cave
#cobblemon:is_deep_dark
#cobblemon:is_spooky
Miraidon minecraft:windswept_gravelly_hills Violet Book 68-72
minecraft:deep_dark
#cobblemon:is_deep_dark
Moltres minecraft:badlands Tidal Bell & 3 Fire Stones 50-60
minecraft:windswept_hills
#cobblemon:is_volcanic
#cobblemon:is_thermal
#cobblemon:is_sky
Palkia terralith:skylands_winter Lustrous Orb 47-70
minecraft:the_end
minecraft:end_barrens
minecraft:end_highlands
minecraft:end_midlands
minecraft:small_end_islands
terralith:skylands_winter
minecraft:the_end
minecraft:end_barrens
minecraft:end_highlands
minecraft:end_midlands
#minecraft:is_end
minecraft:small_end_islands
Raikou minecraft:plains Clear Bell & 3 Thunder Stones 50-60
minecraft:savanna
minecraft:savanna_plateau
#cobblemon:is_plains
#cobblemon:is_grassland
#cobblemon:is_arid
Rayquaza terralith:skylands_autumn Jade Orb 50-70
terralith:skylands_spring
terralith:skylands_summer
terralith:skylands_winter
minecraft:jungle
#cobblemon:is_sky
#cobblemon:is_highlands
minecraft:end_highlands
minecraft:jungle
Shaymin minecraft:sunflower_plains Oaks Letter 70
minecraft:flower_forest
minecraft:flower_forest
minecraft:meadow
terralith:blooming_plateau
terralith:blooming_valley
terralith:lavender_valley
terralith:sakura_grove
terralith:sakura_valley
#cobblemon:is_floral
#cobblemon:is_grassland
#cobblemon:is_lush
Suicune minecraft:frozen_river Clear Bell & 3 Water Stones 50-60
minecraft:river
#cobblemon:is_freshwater
#cobblemon:is_cold_ocean
Victini minecraft:badlands Liberty Pass 70-100
minecraft:eroded_badlands
minecraft:savanna
#cobblemon:is_volcanic
#cobblemon:is_thermal
#cobblemon:is_savanna
Xerneas minecraft:flower_forest Saplingo of Life 50
minecraft:forest
minecraft:meadow
#cobblemon:is_forest
#cobblemon:is_magical
#cobblemon:is_floral
Yveltal minecraft:dark_forest Cocoon of Destruction 50
minecraft:swamp
#cobblemon:is_spooky
#cobblemon:is_tundra
Zacian minecraft:flower_forest Rusted Sword 70
minecraft:meadow
#cobblemon:is_magical
#cobblemon:is_forest
#cobblemon:is_highlands
Zamazenta minecraft:taiga Rusted Shield 70
minecraft:windswept_forest
#cobblemon:is_plateau
#cobblemon:is_savanna
#cobblemon:is_highlands
Zapdos minecraft:plains Tidal Bell & 3 Thunder Stones 50-60
minecraft:savanna
#cobblemon:is_sky
#cobblemon:is_mountain
Zygarde minecraft:birch_forest Zygarde Cube 70
minecraft:forest
minecraft:jungle
minecraft:mangrove_swamp
minecraft:swamp
#cobblemon:is_forest
#cobblemon:is_cave
#cobblemon:is_swamp

For more details, visit the following link: Configured Pokémon Conditions

Each of these Pokémon has specific spawn conditions configured in their respective JSON files.

Creating Custom Spawns

Interested in crafting your own unique Pokémon spawn conditions? Follow this detailed guide to learn how you can add custom spawns to your game: Creating Custom Spawns Tutorial. This guide provides step-by-step instructions, making it easy for you to bring your creative ideas to life in the Cobblemon world.

Additional Conditions

The mod introduces the following additional conditions:

Key Item Conditions

  • key_item: Checks for a specific key item in the player's inventory.
    • Example usage: "key_item": "tidal_bell".

Custom Item Conditions

  • custom_key_item: Checks for a specific amount of a custom key item in the player's inventory and consumes it if allowed.

    • Example usage:
      "custom_key_item": {
        "id": "minecraft:emerald",
        "count": 10,
        "consume": true
      }
      
  • custom_secondary_item: Checks for a specific amount of a custom secondary item in the player's inventory and consumes it if allowed.

    • Example usage:
      "custom_secondary_item": {
        "id": "minecraft:emerald",
        "count": 10,
        "consume": true
      }
      
    • The consume flag works regardless of the config settings, ensuring the item is consumed upon condition check if true.

Item Conditions

  • thunder_stone_requirement: Checks for the required amount of thunder_stone in the player's inventory. Example usage: "thunder_stone_requirement": "3".

  • water_stone_requirement: Checks for the required amount of water_stone in the player's inventory. Example usage: "water_stone_requirement": "2".

  • ice_stone_requirement: Checks for the required amount of ice_stone in the player's inventory. Example usage: "ice_stone_requirement": "4".

  • fire_stone_requirement: Checks for the required amount of fire_stone in the player's inventory. Example usage: "fire_stone_requirement": "5".

  • dragon_scale_requirement: Checks for the required amount of dragon_scale in the player's inventory. Example usage: "dragon_scale_requirement": "2".

  • electirizer_requirement: Checks for the required amount of electirizer in the player's inventory. Example usage: "electirizer_requirement": "1".

  • magmarizer_requirement: Checks for the required amount of magmarizer in the player's inventory. Example usage: "magmarizer_requirement": "1".

  • metal_coat_requirement: Checks for the required amount of metal_coat in the player's inventory. Example usage: "metal_coat_requirement": "3".

  • protector_requirement: Checks for the required amount of protector in the player's inventory. Example usage: "protector_requirement": "2".

  • leaf_stone_requirement: Checks for the required amount of leaf_stone in the player's inventory. Example usage: "leaf_stone_requirement": "4".

  • moon_stone_requirement: Checks for the required amount of moon_stone in the player's inventory. Example usage: "moon_stone_requirement": "3".

  • sun_stone_requirement: Checks for the required amount of sun_stone in the player's inventory. Example usage: "sun_stone_requirement": "2".

  • shiny_stone_requirement: Checks for the required amount of shiny_stone in the player's inventory. Example usage: "shiny_stone_requirement": "2".

  • dusk_stone_requirement: Checks for the required amount of dusk_stone in the player's inventory. Example usage: "dusk_stone_requirement": "1".

  • dawn_stone_requirement: Checks for the required amount of dawn_stone in the player's inventory. Example usage: "dawn_stone_requirement": "1".

  • never_melt_ice_requirement: Checks for the required amount of never_melt_ice in the player's inventory. Example usage: "never_melt_ice_requirement": "3".

Pokémon Team Conditions

  • arceus_in_team_requirement: Checks if Arceus is present in the player's team. Example usage: "arceus_in_team_requirement": "true".

  • articuno_in_team_requirement: Checks if Articuno is present in the player's team. Example usage: "articuno_in_team_requirement": "true".

  • darkrai_in_team_requirement: Checks if Darkrai is present in the player's team. Example usage: "darkrai_in_team_requirement": "true".

  • deoxys_in_team_requirement: Checks if Deoxys is present in the player's team. Example usage: "deoxys_in_team_requirement": "true".

  • dialga_in_team_requirement: Checks if Dialga is present in the player's team. Example usage: "dialga_in_team_requirement": "true".

  • entei_in_team_requirement: Checks if Entei is present in the player's team. Example usage: "entei_in_team_requirement": "true".

  • giratina_in_team_requirement: Checks if Giratina is present in the player's team. Example usage: "giratina_in_team_requirement": "true".

  • groudon_in_team_requirement: Checks if Groudon is present in the player's team. Example usage: "groudon_in_team_requirement": "true".

  • hooh_in_team_requirement: Checks if Ho-Oh is present in the player's team. Example usage: "hooh_in_team_requirement": "true".

  • kyogre_in_team_requirement: Checks if Kyogre is present in the player's team. Example usage: "kyogre_in_team_requirement": "true".

  • kyurem_in_team_requirement: Checks if Kyurem is present in the player's team. Example usage: "kyurem_in_team_requirement": "true".

  • latias_in_team_requirement: Checks if Latias is present in the player's team. Example usage: "latias_in_team_requirement": "true".

  • latios_in_team_requirement: Checks if Latios is present in the player's team. Example usage: "latios_in_team_requirement": "true".

  • lugia_in_team_requirement: Checks if Lugia is present in the player's team. Example usage: "lugia_in_team_requirement": "true".

  • mew_in_team_requirement: Checks if Mew is present in the player's team. Example usage: "mew_in_team_requirement": "true".

  • moltres_in_team_requirement: Checks if Moltres is present in the player's team. Example usage: "moltres_in_team_requirement": "true".

  • palkia_in_team_requirement: Checks if Palkia is present in the player's team. Example usage: "palkia_in_team_requirement": "true".

  • raikou_in_team_requirement: Checks if Raikou is present in the player's team. Example usage: "raikou_in_team_requirement": "true".

  • rayquaza_in_team_requirement: Checks if Rayquaza is present in the player's team. Example usage: "rayquaza_in_team_requirement": "true".

  • suicune_in_team_requirement: Checks if Suicune is present in the player's team. Example usage: "suicune_in_team_requirement": "true".

  • zamazenta_in_team_requirement: Checks if Zamazenta is present in the player's team. Example usage: `"zamaz

  • zapdos_in_team_requirement: Checks if Zapdos is present in the player's team. Example usage: "zapdos_in_team_requirement": "true".

Custom Pokemon Species in Team Conditions

  • custom_pokemon_in_team: Checks for a specific number of a certain Pokémon species in the player's team.
    • Example usage:
      "custom_pokemon_in_team": {
        "species": "pikachu",
        "count": 2
      }
      

Example Spawn File with Key Item Condition

{
    "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", <--- The item name has to match the names from the list below.
          "ice_stone_requirement": "3" <--- How many cobblemon:ice_stones the player is required to have 
                                                                          in his inventory.
        }
      }
    ]
  }

List of Items in the Mod

  • adamant_orb
  • aurora_ticket
  • azure_flute
  • blue_orb
  • bonus_disk
  • clear_bell
  • cocoon_of_destruction
  • dna_splicer
  • dr_fujis_diary
  • eon_flute
  • eon_ticket
  • gs_ball
  • griseous_orb
  • jade_orb
  • liberty_pass
  • lustrous_orb
  • member_card
  • old_sea_map
  • oaks_letter
  • rainbow_wing
  • red_chain
  • red_orb
  • rusted_shield
  • rusted_sword
  • sapling_of_life
  • scarlet_book
  • silver_wing
  • tidal_bell
  • violet_book
  • zygarde_cell
  • zygarde_core
  • zygarde_cube

Default Configuration File

The config.toml file, located under config/MythsAndLegends, contains the following default settings:

  • inventory_check_interval (checkInventoryInterval in older versions) = 3600

    • Interval in Minecraft ticks for checking player inventories. Possible values: any integer. Default: 3600 (2 minutes and 30 seconds).
  • consume_items_on_successful_spawn (consumeConditionalItemOnSuccessfulSpawn in older versions) = false

    • Determines if items are consumed on successful spawns. Possible values: true, false. Default: false.
  • ignore_key_items (IfKeyItemAndItemRequirementIsSetConsumeOnlyItems in older versions) = true

    • If true, and both a key item and item condition are set, only items are consumed. Possible values: true, false. Default: true.
  • inventory_check_item_list (New in this version, no old version equivalent)

    • List of items to be checked in the inventory at each interval.
    • Default items in the list:
      • "minecraft:diamond",
      • "minecraft:emerald",
      • "minecraft:nether_star",
      • "cobblemon:dragon_scale",
      • "cobblemon:electirizer",
      • "cobblemon:magmarizer",
      • "cobblemon:metal_coat",
      • "cobblemon:protector",
      • "cobblemon:leaf_stone",
      • "cobblemon:moon_stone",
      • "cobblemon:sun_stone",
      • "cobblemon:shiny_stone",
      • "cobblemon:dusk_stone",
      • "cobblemon:dawn_stone",
      • "cobblemon:ice_stone",
      • "cobblemon:thunder_stone",
      • "cobblemon:fire_stone",
      • "cobblemon:water_stone",
      • "cobblemon:never_melt_ice"
    • This configuration allows for specifying a list of items that the game will check for in player inventories at each specified interval.
  • isBroadcastEnabled = false

    • Determines if broadcasting features are enabled. This includes all types of notifications specified in 'broadcast_settings'. Enables or disables the entire broadcasting system. Possible values: true, false. Default: false
  • broadcast_settings:

    • BroadcastToAll
      • Description: When true, messages are broadcasted to all players.
      • Possible Values: true, false
      • Default: true
    • DisplayName
      • Description: If enabled, displays the name of the Pokemon in the broadcast message.
      • Possible Values: true, false
      • Default: true
    • Legendarys
      • Description: If enabled, broadcasts a message when a legendary Pokemon spawns.
      • Possible Values: true, false
      • Default: true
    • Mythicals
      • Description: If enabled, broadcasts a message when a mythical Pokemon spawns.
      • Possible Values: true, false
      • Default: true
    • UltraBeasts
      • Description: If enabled, broadcasts a message when an Ultra Beast spawns.
      • Possible Values: true, false
      • Default: false
    • Location
      • Description: If true, includes the location in broadcast messages.
      • Possible Values: true, false
      • Default: true
    • Shiny
      • Description: Enables broadcasts about Shiny Status of the Pokemon.
      • Possible Values: true, false
      • Default: false
    • Level
      • Description: When enabled, the level of Pokemon is included in the broadcast.
      • Possible Values: true, false
      • Default: true
  • inventory_check_shulker_boxes = true

    • Determines if the contents of shulker boxes should be scanned for items by the inventory check. Possible values: true, false. Default: true.
  • inventory_check_bundles = true

    • Determines if the contents of bundles should be scanned for items by the inventory check. Possible values: true, false. Default: true.

    • enable_force_spawning = false

      • Determines if right-clicking key items forcefully spawns Pokémon that require the clicked key item as a spawning condition.
      • Possible values: true/false
      • Default: false
  • force_spawning_spawn_pool = "false"

    • Determines in which Spawn Pool the force spawning module should check. Possible values: common, uncommon, rare and ultra-rare. Default: ultra-rare
    • Possible values: "common"/"uncommon"/"rare"/"ultra-rare"
    • Default: "ultra-rare"
  • force_spawn_item_cooldown = 20

    • Sets the cooldown period in seconds after a key item is used for force spawning before it can be used again.
    • Possible values: any integer >= 1
    • Default: 20
  • force_spawn_check_width = 100

    • Defines the width around the player within which the game checks for possible Pokémon spawns when force spawning.
    • :warning: Increasing this value may cause lag but is more likely to find a spawn. Please adjust carefully.
    • Possible values: any integer >= 1
    • Default: 100
  • force_spawn_check_height = 50

    • Specifies the height around the player for checking potential Pokémon spawns when force spawning, similar to force_spawn_check_width.
    • Possible values: any integer >= 1
    • Default: 50
  • Note: Inventory checks happen once for the player who is using the item.

  • The loot_tables_config.json File

    • Located in the same folder as config.toml, this file defines the assignment of items to specific loot tables with associated weights. Example snippet:
    {
      "items": [
        {
          "itemId": "cobblemon-mythsandlegends-addon:adamant_orb",
          "enabled": true,
          "lootTables": [
            {"id": "minecraft:chests/abandoned_mineshaft", "weight": 0.005},
            {"id": "minecraft:chests/ancient_city", "weight": 0.005},
            {"id": "minecraft:chests/bastion_treasure", "weight": 0.005},
            ...
          ]
        },
        {
          "itemId": "cobblemon-mythsandlegends-addon:aurora_ticket",
          "enabled": true,
          "lootTables": [
            {"id": "minecraft:chests/abandoned_mineshaft", "weight": 0.005},
            {"id": "minecraft:chests/ancient_city", "weight": 0.005},
            {"id": "minecraft:chests/bastion_treasure", "weight": 0.005},
            ...
          ]
        }
      ]
    }
    
    

Structure Explanation:

itemId:

  • This is an identifier for the item, such as "minecraft:stone" or "cobblemon-mythsandlegends-addon:adamant_orb". It specifies the unique name of the item to be added to loot tables.

enabled:

  • This is a boolean (true or false) that indicates whether the item should be activated. When true, the item is added to the loot tables listed below.

lootTables:

  • This is an array of objects, each representing a loot table where the item can appear. Each object within the lootTables array contains:

id:

  • The identifier of the loot table, e.g., "minecraft:chests/abandoned_mineshaft".

weight:

  • A decimal indicating the likelihood of the item appearing in the loot table. The higher the weight, the more likely the item will appear.

Every config not listed here doesn't function at the moment!

Commands Documentation

The addon introduces a range of commands for administrative control and enhanced player interaction, each available in English and German:

Note: If LuckPerms isn't installed, all commands require OP level 2.

General Permissions

  • Permission Required: mythsandlegends.access
  • Function: Grants access to the "mythsandlegends" command group.

1. /mythsandlegends listitems [player_name]

  • Permission Required: mythsandlegends.listitems
  • Function: Lists key items in a specified player's inventory, including quantities of various types of items.
  • Usage: /mythsandlegends listitems <player_name>
  • Output:
    • English: "Items in the inventory of [player_name]: [items list]"
    • German: "Items im Inventar von [player_name]: [items list]"
  • Error:
    • English: "Player not found."
    • German: "Spieler nicht gefunden."

2. /mythsandlegends checkinventory [player_name]

  • Permission Required: mythsandlegends.checkinventory
  • Function: Performs a manual inventory check for a specified player.
  • Usage: /mythsandlegends checkinventory <player_name>
  • Output:
    • English: "Inventory of player [player_name] has been checked."
    • German: "Inventar des Spielers [player_name] wurde überprüft."
  • Error:
    • English: "Player not found."
    • German: "Spieler nicht gefunden."

3. /mythsandlegends listpokemon [player_name]

  • Permission Required: mythsandlegends.listpokemon
  • Function: Lists all Pokémon in a specified player's party.
  • Usage: /mythsandlegends listpokemon <player_name>
  • Output:
    • English: "[player_name]'s Pokémon: [Pokémon list]"
    • German: "Pokémon von [player_name]: [Pokémon list]"
  • Error:
    • English: "Player not found."
    • German: "Spieler nicht gefunden."

Cobblemon MythsAndLegends Addon Language File Modification Guide

This guide is aimed at resource pack creators or users who want to customize the language files for the Cobblemon MythsAndLegends Addon. By editing these files, you can change in-game text messages for either the German (de_de.json) or English (en_us.json) languages.

Locating and Editing Language Files

Language files are located in the resource pack directory under resources/assets/cobblemon-mythsandlegends-addon/lang. Depending on your target language, you may edit either the de_de.json (for German) or the en_us.json (for English).

Example Structure for Language Files

{
  "command.mythsandlegends.player_not_found": "Player not found.",
  "command.mythsandlegends.items_in_inventory": "Items in the inventory of %s: %s",
  ...
}

Command Messages

  • command.mythsandlegends.player_not_found

    • Default Message: "Player not found."
    • Modification: Change this message to customize the text for when a player is not found.
  • command.mythsandlegends.items_in_inventory

    • Default Message: "Items in the inventory of %s: %s"
    • Modification: Edit to alter how inventory items are listed. Keep %s placeholders for player name and items list.
  • command.mythsandlegends.inventory_checked

    • Default Message: "Inventory of player %s has been checked."
    • Modification: Modify this message to change the notification for inventory checks, maintaining %s for the player's name.
  • command.mythsandlegends.no_pokemon

    • Default Message: "%s has no Pokémon in their party."
    • Modification: Change to customize the message for when a player has no Pokémon, keeping %s for the player's name.
  • command.mythsandlegends.pokemon_list

    • Default Message: "%s's Pokémon: %s"
    • Modification: Edit this message to adjust the display of a player's Pokémon list, ensuring to keep the %s placeholders.

Chat Broadcast Messages

  • chat.broadcast.spawn

    • Default Message: "A wild %s has spawned!"
    • Modification: Modify to change the spawn announcement, keeping %s for the Pokémon's name.
  • chat.broadcast.location

    • Default Message: "Location: X=%d, Y=%d, Z=%d"
    • Modification: Alter this message to customize location information display, maintaining %d placeholders for coordinates.
  • chat.broadcast.legendary

    • Default Message: "It's a Legendary Pokémon!"
    • Modification: Change this text to modify the Legendary Pokémon announcement.
  • chat.broadcast.mythical

    • Default Message: "A Mythical Pokémon appears!"
    • Modification: Edit to customize the Mythical Pokémon appearance notification.
  • chat.broadcast.ultrabeast

    • Default Message: "Warning: An Ultra Beast has been detected!"
    • Modification: Modify to change the Ultra Beast alert message.
  • chat.broadcast.shiny

    • Default Message: "Shiny Pokémon alert!"
    • Modification: Change to personalize the Shiny Pokémon announcement.
  • chat.broadcast.level

    • Default Message: "Level: %s"
    • Modification: Edit this message to alter how Pokémon levels are displayed, keeping %s for the level.

After making your changes, save the .lang file. Ensure it is encoded in UTF-8 to support special characters. Your modifications will now appear in-game, providing a personalized experience for players.

Frequently Asked Questions (FAQ) for Cobblemon and Myths and Legends Addon

Q: What is the Cobblemon Myths and Legends Addon?

A: The Cobblemon Myths and Legends Addon adds key items and new spawning conditions for Cobblemon, including pre-made spawns for each key item.

Q: How can I spawn legendaries in Cobblemon?

A: To spawn legendaries in Cobblemon, players must ensure that their inventory contains specific key items and that they are standing in the correct biome for the legendary Pokémon to spawn. The mod automatically scans player inventories every 2 minutes and 30 seconds by default to determine eligibility for legendary spawns. This interval can be configured in the Cobblemon_MythsAndLegends_Addon_Config.toml file, located under config/MythsAndLegends, by adjusting the inventory_check_interval parameter (known as checkInventoryInterval in older versions) to your desired frequency. The default setting is 3600 Minecraft ticks, equivalent to 2 minutes and 30 seconds. For immediate inventory checks, players can use the /mythsandlegends checkinventory command. Afterwards, the /checkspawn ultra-rare command (or the appropriate command for a different spawn bucket, if modified) should be used to initiate the spawn check, ensuring the player is within the correct biome for the legendary Pokémon to appear.

Q: Do all configured Pokémon spawn in the game?

A: Yes, every configured Pokémon does spawn, provided that all spawning conditions are met.

Q: What should I do if a spawned Pokémon doesn't have a texture?

A: It's noted that the mod doesn't add any models or textures. You might need to check for compatibility with other mods or resource packs that add these elements.

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. However, this might not work with the "normal" version, and specific items used in spawn conditions must be implemented in the version you're using.

Q: How can I make legendaries spawn more frequently?

A: For more frequent legendary spawns, you can edit the spawn conditions, such as placing them in the common spawn bucket with a high weight, using the standalone version.

Q: Is there a way to report issues or suggestions for the addon?

A: Yes, @Le0n(on Discord) encourages sharing any issues, ideas, or feedback to improve and evolve the addon. You can share your thoughts and suggestions directly in the conversation or through designated channels here:

Q: Can I use data/resource packs with this mod?

A: Yes, data and resource packs like MysticMons can work alongside this mod, potentially adding models for the legendaries/mythical Pokémon.

Q: Where can I find the official guide and spawn pool information?

A: The official guide and details on spawn pools are available at the Cobblemon wiki and the modrinth page.

Q: Are there updates planned for the Myths and Legends addon?

A: Yes, updates are planned, including new features and compatibility improvements. Specific details will be shared by Le0n when available.


Project members

D0ctorLeon

Owner

DawnFelstar

Xcavalier

Support


Technical information

License
ARR
Client side
required
Server side
required
Project ID