Skip to main content
Discovery icon for The NeoForged Project Discord server

The NeoForged Project

9,055 Online
37,932 Members
modder-1․21․1-support3 people

modifying screens versus menus

Screens operate only on the client while menus run on both sides, requiring full menu replacement when changing slot counts.

  • Listening to the screen open event allows changing the client screen while still using the vanilla menu to communicate with the server
  • Screens exist solely on the client, whereas menus must exist on both client and server sides
  • Menu data typically consists of the backing container and potentially integers
  • When modifying slot counts or allowing item interactions, replacing the entire menu is required rather than just swapping the screen
Summarized from recent messages, might be inaccurate

More conversations

user-support

stablefps crash and spark profiling

general

AWT compatibility issues on macOS

general

missing mod recipes troubleshooting

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App