Skip to main content

Module client_inventory

Module client_inventory 

Source

Modules§

equipment_effects
Support for enchantments and items with attribute modifiers.

Structs§

ClientsideCloseContainerEvent
A Bevy event that’s fired when our client closed a container.
CloseContainerEvent
Tell the server that we want to close a container.
ContainerClickEvent
InventoryPlugin
InventorySystems
LastSentSelectedHotbarSlot
The item slot that the server thinks we have selected.
MenuOpenedEvent
A Bevy trigger that’s fired when our client should show a new screen (like a chest or crafting table).
SetContainerContentEvent
Sent from the server when the contents of a container are replaced.
SetSelectedHotbarSlotEvent
An ECS message to switch our hand to a different hotbar slot.

Functions§

ensure_has_sent_carried_item
A system that makes sure that LastSentSelectedHotbarSlot is in sync with Inventory::selected_hotbar_slot.
handle_client_side_close_container_trigger
handle_container_click_event
handle_set_container_content_trigger
handle_set_selected_hotbar_slot_event