Hi, I'm new to Minecraft modding (not at all new to programming in general though, no worries), and I'm trying to implement what I thought would be a relatively simple mod to decrease the max stack size of almost all the vanilla items in the game that aren't already at max stack size 1. The goal is to run a multiplayer server with this mod. I've heard read that I'll probably have to re-register all the blocks in the game I want to be modified with new stack size values.
The questions I have are:
1. Is this the easiest strategy for implementing a mod/change like this? Am I correct in understanding it requires re-registering all blocks?
2. If so, what classes in the API should I be looking at for A. grabbing the existing vanilla items in the game, and then B. registering changes made to them? Example code is nice too, but in lieu of that a few pointers to the API will be just fine.
Honestly, I'm mostly just in a bit of disbelief that this seems to be the solution I have to take, why isn't the most popular game on earth more configurable? It seems like you should just be able to modify the value in a datapack, but here we are.