Developer Guides: Sidedness
https://docs.fabricmc.net/develop/items/first-item#preparing-your-items-class This section here does not specify where to make the ModItems class. Whether in main or client folder.
Maintainer notes:
- [ ] Create new "sidedness" page that goes through client, server, integrated servers, etc. - A spiritual improvement of the wiki's sidedness page.
Items would be common since both logical client (rendering) and logical server (logic) needs to know about them. The differences in client and main should have been covered in a previous section of the docs
It could be elaborated more. It just says
The src/main/java folder is used to store the Java source code for your mod - it exists on both the client and server environments.
Agreed. the logical server/logical client concept should be elaborated on the docs. it has not yet replaced the wiki page on it https://wiki.fabricmc.net/tutorial:side
I created a (very high level) overview on that some time ago, if someone wants to use it on a potential PR