Started by
AstraVelious
on
Topic category: Help with Minecraft modding (Java Edition)
I've been working on my appraisal system which converts cards into items, so far so good, but I was trying to add a cost system, which can't depend on the frankly busted XP/level system, so I've been working on a currency with associated loot tables, but I would like to make the pickup add to the global player_money instead of being added to the inventory. Is there a way to do that or do I need to establish a workaround?
TLDR: Can I make an item behave like an XP orb and add to a value?
Best I've been able to do is make coins dissappear from the inventory and add to the wallet per tick, which sucks because it requires an open inventory slot, but oh well.