Can I make an item that is NOT added to the inventory on pickup

Started by AstraVelious on

Topic category: Help with modding (Java Edition)

Last seen on 02:13, 15. Apr 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I make an item that is NOT added to the inventory on pickup

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? 

Last seen on 02:13, 15. Apr 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Best I've been able to do is…
Sat, 04/15/2023 - 02:09

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.