Myths and Legends [Cobblemon Addon]

Myths and Legends [Cobblemon 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

96.3k downloads
94 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter channels...

Version 1.5-HOTFIX

Changes

  • Fixed an issue with prevented the Aurora Ticket to function properly when right clicking

Version 1.5

Changes

  • Fixed an issue with LuckPerms that caused users to be unable to rejoin their world or join a server because the API wasn't "ready"

Version 1.5

Changes

  • Fixed an issue with LuckPerms that caused users to be unable to rejoin their world or join a server because the API wasn't "ready" yet.

Version 1.4

Changes and Additions:

  • Spawn Files:
    • Removed all predefined Spawn Files.
    • To add Spawns, it is now mandatory to use the official Myths and Legends datapack. Download it from:
    • A public repository is available for those who want to tinker with the datapack and "compile" their own version: GitHub Repository
  • Wiki Page:
    • Added a wiki page containing all information on the currently implemented spawns from the datapack: Wiki
  • Bug Fixes:
    • Fixed console spam issue when right-clicking any item.
  • Translations:
    • Added translations for es_es and es_mx locales.

Version 1.3

New Key Items:

  • Dark Stone
  • Light Stone
  • Lunar Feather
  • Magma Stone
  • Moon Flute
  • Mystery Box
  • Reveal Glass
  • Sun Flute
  • Teal Mask

Spawn Updates:

  • Added corresponding spawns that utilize the new key items.

Update for Cobblemon 1.5.2

Fixed a compatibility issue with cobblemon-integrations and generally every addon/side-mod which adds new conditions.

Update for Cobblemon 1.5.0 <3

Changes in Version 1.8.1

Modifications

  • Updated spawning files:
    • I have updated all json files for each Pokemon for better compatibility instead "id": "arceus-1" every "id" starts now with mythsandlegends- like this example "id": "mythsandlegends-arceus-1"

Changes in Version 1.8.0

New Features

  • Loot Tables Configuration Update:
    • Introduced a new configuration file loot_tables_config.json.
    • This file is automatically generated at the start of the game and is populated with every key item by default.
  • Force Spawning:
    • You can now enable Force Spawning in the config. If enabled, players will be able to right-click key items to forcefully spawn Pokémon. The key item must be used as a spawning condition. This will only work if all conditions are met (such as being in the correct biome, achieving the required light level, having an unobstructed view of the sky, etc.) for the Pokémon to spawn. Note: This feature also works for custom spawns created by others; they just need to be in the same spawn pool, which is set inside the config as force_spawning_spawn_pool.

Modifications

  • Updated Loot Tables:
    • The list of loot tables where key items can appear has been modified to be more manageable and configurable via loot_tables_config.json.
    • Each item now has an individual spawn chance specified directly in the JSON configuration, maintaining a default weight of 0.005 across all loot tables.

Configuration Changes

  • New Configuration Settings:

    • enable_force_spawning: 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: Determines in which Spawn Pool the force spawning module should check. Possible values: common, uncommon, rare and ultra-rare.

    • Possible values: "common"/"uncommon"/"rare"/"ultra-rare"
    • Default: "ultra-rare"
  • force_spawn_item_cooldown: 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: 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: 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.

  • Removed Settings:

    • The following configuration settings have been removed:
      • loot_tables (previously known as lootTablesToModify).
      • loot_table_item_spawn_chance (previously chancePerItemToSpawn).
      • divide_item_spawn_chance (previously chancePerItemDivideByAllItemsToAdd).

JSON Configuration Example

{
  "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},
        ...
      ]
    }
  ]
}
  • Fixed the spawn file for Lugia; previously, the presets were set to natural, which made it impossible to encounter. Corrected it now to use freshwater and underwater. Thanks to @zaoizys for bringing this up.
  • Fixed an error where, if the debts.json file doesn't exist, it kept spamming errors. :) Now, the file will be created if it doesn't exist, thanks to @adam1972 for bringing this up.

In the latest update of our beloved Cobblemon Myths and Legends addon, I'm thrilled to introduce a slew of exciting features designed to enrich your gameplay experience. Among these, the broadcasting system and inventory check enhancements stand out, offering both a deeper immersion into the world of Cobblemon and a more refined control over game mechanics. With a keen focus on improving interactions and adding a layer of strategy, I've crafted these updates to enhance your adventures and challenges within the Cobblemon universe.

New Features

config/MythsAndLegends/Cobblemon_MythsAndLegends_Addon_Config.toml

Broadcasting System:

  • Added: A comprehensive broadcasting system to notify players about significant events, specifically Pokemon spawns, through customizable messages. This system includes several settings allowing for precise control over what information is shared and how.

    • isBroadcastEnabled = false: Activates the broadcasting features, encompassing all notification types specified under broadcast_settings. This toggle enables or disables the entire broadcasting system, with the default set to false for a quieter experience.

    • broadcast_settings:

      • BroadcastToAll: When enabled, broadcasts messages to all players. Default is true.
      • DisplayName: Shows the name of the Pokemon in the message if enabled. Default is true.
      • Legendarys, Mythicals, UltraBeasts: Enable messages for the respective Pokemon spawns. Defaults are true for Legendarys and Mythicals, and false for UltraBeasts.
      • Location: Includes the spawn location in messages if enabled. Default is true.
      • Shiny, Level: Enable broadcasting the Shiny status and the level of the spawned Pokemon, respectively. Defaults are false for Shiny and true for Level.

Inventory Check Enhancements:

  • Added: New options to scan for items within shulker boxes and bundles, adding a layer of depth to inventory management.

    • inventory_check_shulker_boxes = true: Scans the contents of shulker boxes during inventory checks.

    • inventory_check_bundles = true: Scans the contents of bundles during inventory checks.

Changes:

  • Inventory Check Interval: The inventory_check_interval setting, formerly known as checkInventoryInterval, has been reimagined to allow for a flexible time frame between checks, enhancing gameplay fluidity and reducing predictability.

Added Debt System:

  • Introduced: A debt system that adds a strategic element to item management. If a player stashes required items out of sight, they may incur a debt that prevents certain Pokemon spawns until the debt is cleared by having the items in their inventory during an inventory check.

Configuration Adjustments:

To accommodate these new features and changes, various settings within the Cobblemon_MythsAndLegends_Addon_Config.toml file have been adjusted or added. These adjustments aim to provide a tailored experience that fits your play style, whether you seek a more immersive, information-rich game or prefer to discover the mysteries of Cobblemon on your own terms.

I hope these updates enhance your journey through the world of Cobblemon, bringing new challenges and surprises around every corner. As always, your feedback is invaluable to me, and I look forward to hearing about your adventures with these new features at your side.

Bug Fix:

  • Fixed a issue with the fire_stone_requirement it now actually needs cobblemon:fire_stones instead of cobblemon:ice_stones ~ Thanks to @edensrain

Bug Fix:

  • Fixed a crash due to NullPointerException when using LuckPerms. Thanks to @ultranikki for finding this bug and testing the fix.

Improvements

  • Enhanced stability for permission checks with LuckPerms integration.

Details

Licensed ARR
Published 10 months ago
Updated 2 months ago