Count Macaroon
Client-side counter mod for Fabric loader, compatible with game version 1.21.6. Track any numerical values directly in the game interface!

Important Information
Automatic saving and loading is not yet implemented. When joining a world, use the /counter_load <name> command, and before leaving - /counter_save to preserve your progress.
Main Features
Keyboard Controls
Up Arrow - increases counter value by current step size Down Arrow - decreases counter value by current step size Numpad 0 - resets counter to zero
Counter Management Commands
/counter_value <value> - sets current counter value
/counter_save - saves current counter as JSON file in counters folder
// ./counters/leaf_litter.json
{
"value": 35,
"step": 2,
"name": "leaf_litter"
}
/counter_load <name> - loads specified counter (.json extension not required)
/counter_list - displays list of saved counters and their last modification time
/counter_step [<step>] - without arguments shows current step, with argument sets new step size
/counter_name [<new_name>] - without arguments shows current name, with argument sets new name
/counter_new <new_name> - creates new counter with specified name, step 1 and value 0
/counter_help [<command>] - help information for commands
Appearance Customization
To change counter background, create a resource pack and replace the texture /assets/countmacaroon/textures/gui/counter_background.png. Image dimensions should be 79×18 pixels.