Spice of Life: Carrot Edition Type Mechanic

Started by JustinTheMC on

Topic category: Help with modding (Java Edition)

Last seen on 19:38, 10. Feb 2023
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Spice of Life: Carrot Edition Type Mechanic

Hello all! I'm working on a modern adaptation of numerous food based mods with additional twists like dimensions, bosses, etc. I would love to integrate a progression system similar to Spice of Life: Carrot Edition where each food item is tracked, by a player, to determine if they'd previously eaten that item. As well, I'd love to be able to measure their overall dietary habits like the original Spice of Life mod; e.g. items flagged as vegetables could be tracked independently from items flagged as fruit.

This is tracked and displayed below the item in the form of a description that essentially says "You have not eaten this item." How would I go about giving items an attribute like that and tracking their progress?

 

Thank you in advance!