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

The NeoForged Project

8,749 Online
37,953 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

modder-26․3-support

block entities vs block states

user-support

troubleshooting modded Minecraft crash logs

modder-26․3-support

data maps versus data components

modder-1․21․1-support

fixing external dependency item registration

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