Cobblemon Economy

Addon for Cobblemon to add : Pokedollars and PCO, Customisable Shops and Customisable Quests

File Details

cobblemon-economy-0.0.9.jar

  • R
  • Jan 23, 2026
  • 14.22 MB
  • 522
  • 1.21.1
  • Fabric

File Name

cobblemon-economy-0.0.9.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:cobblemoneconomy-1437367:7513792"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

[0.0.9] - 2026-01-22

Added

  • Dynamic Quantity Selection:
    • Middle-Click Interaction: Players can now Middle-Click shop items to rotate the quantity multiplier (1x -> 2x -> 4x ... -> 64x).
    • Live Price Calculation: The tooltip dynamically updates to show the total price for the selected quantity.
    • Audio Feedback: Rotating quantity now plays a UI click sound.
  • Advanced Item Parsing:
    • Component Syntax: Shop items now support full Minecraft component syntax in their ID field (e.g., minecraft:diamond_sword[minecraft:enchantments={levels:{'minecraft:sharpness':5}}]).
    • Robust Parser: Implemented a new reflection-based parsing system that works across both Development and Production environments, solving runtime obfuscation issues.
  • Lootbox Support: Added the dropTable configuration field. Purchasing an item with a dropTable will give the player one random item from the list instead of the item itself.

Changed

  • Strict Configuration Loading: The mod no longer automatically re-creates default shops (like default_poke, apothecary) if they are missing from the configuration file. This allows server admins to permanently delete default shops they don't want.
  • Silent Rewards: Set reward values to 0 in the config to disable them completely. The "You received 0P" chat message will no longer appear if the reward is zero.
  • Improved Tooltips: Shop tooltips now clearly indicate "Left: Buy | Middle: x" for better user experience.

Fixed

  • Internationalization Support for Tools: The Shop Setter (Nether Star) now uses internal NBT data to identify the target shop instead of relying on the item's display name. This fixes the issue where the tool wouldn't work if the game language was not English.
  • Path & Database Stability: Fixed a java.sql.SQLException caused by malformed file paths (./world/./config) by normalizing directory path construction.
  • Startup Crash: Resolved a ClassNotFoundException related to ItemStackArgumentType by implementing a safe reflection wrapper that handles Yarn, Mojang, and Intermediary mapping names.