Skip to main content

Module behavior

Module behavior 

Source
Expand description

Slots, client-sync state, and click handling shared by every menu.

Structsยง

MenuBehavior
Shared behavior and state for all menu types.

Enumsยง

RemoteSlot ๐Ÿ”’
What the server believes the client is showing in one slot.

Functionsยง

hashed_stack_matches ๐Ÿ”’
Checks if a hashed stack matches the given ItemStack.
validate_component_hashes ๐Ÿ”’
Validates that the hashed component patch matches the local patch.