promotional bannermobile promotional banner

Cobblemon Economy

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

cobblemon-economy-0.0.9.jar

File namecobblemon-economy-0.0.9.jar
Uploader
Ryvexam99Ryvexam99
Uploaded
Jan 23, 2026
Downloads
533
Size
14.2 MB
Mod Loaders
Fabric
File ID
7513792
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:cobblemoneconomy-1437367:7513792"

Learn more about Curse Maven

What's new

[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.

This mod has no additional files