coinkeep-1.1.0.jar
Curse Maven Snippet
What's new
1.1.0 — Shop categories are data.
Shop categories used to be hardcoded, so a companion mod had no way to add one — every item it sold got squeezed into one of Coinkeep's eight, and a big addon buried Coinkeep's own catalog. Now any mod or datapack can define its own Shop tab: data/<namespace>/coinkeep/shop_category/<id>.json, with a name, a sort order and an optional icon. A tab appears exactly when the mod that defines it is installed, and disappears with it.
The first mod to use it is our own: Highroller 2.0.0 ships a Highroller tab with all 90 of its casino entries — slot machines to a $250,000 Grand Casino blueprint — instead of burying them in Materials and Rare. (Which is why Highroller 2.0.0 requires Coinkeep 1.1.0+.)
- Nothing to do on upgrade. The eight built-ins ship as Coinkeep's own JSON with the same ids, labels and order, so existing worlds and existing datapacks load unchanged —
"category": "rare"still means what it always meant. - A typo no longer eats an item. An entry naming an unknown category used to fail its whole entry and vanish from the shop; it now lands in a clearly-named placeholder tab and the content validator reports the missing id on load.
- Categories can carry their own icon; without one the sidebar still shows the category's cheapest entry.
- Startup now logs every category and how many entries it holds.
- Mod authors:
ShopEntry.category()returns aStringid rather than an enum, so anything compiled against 1.0.0 that read that field needs a recompile.BalanceHelperis untouched.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

