client→server
Packet Sequence: Vanilla menu button click
Vanilla ServerboundContainerButtonClickPacket (AbstractContainerMenu.clickMenuButton). These menus use it instead of custom packets: Vending (buy offer i), Vending manage (0 = collect), Exchange (0 = sell, 100+i = buy), Imprinter (roll), Mod Bench (wallet off/upgrade), Suit (tabs 0–3, pages 10+, switches 20+bit), Reclamation (parcel i).
LANE 01
Client (Container Screen)
LANE 02
Server (AbstractContainerMenu)
LANE 03
Server (BlockEntity / Economy)
STEP 01 · Client → Server
Click Offer / Action Slot ButtonUsed by VendingScreen (buy offer i), VendingManageScreen (0=collect income), CircuitWorkbench, Imprinter, Reclamation, Exchange, and SuitScreen.
STEP 02 · Server → Server
Vanilla clickMenuButton(player, id)Menu routes integer button ID to tryPurchase, craftCircuit, rollImprinter, buyParcel, or tradeExchange.
STEP 03 · Server → Client
Execute Trade & Sync Inventory/EconomyDeducts Credits/scrip via Economy.pay, dispenses items, and sends container + economy_sync updates.