fabric-docs icon indicating copy to clipboard operation
fabric-docs copied to clipboard

Developer Guides: Sidedness

Open Android789515 opened this issue 1 year ago • 4 comments

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.

Android789515 avatar Dec 15 '24 17:12 Android789515

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

Linguardium avatar Dec 15 '24 17:12 Linguardium

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.

Android789515 avatar Dec 15 '24 17:12 Android789515

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

Linguardium avatar Dec 15 '24 17:12 Linguardium

I created a (very high level) overview on that some time ago, if someone wants to use it on a potential PR

Image

JR1811 avatar Mar 07 '25 17:03 JR1811