Interactive Packet Sequence Explorer
Section titled “Interactive Packet Sequence Explorer”Select any of the 10 custom packets (vendustry:*) or the vanilla container menu button pattern below to step through its Client ↔ Server execution lanes and inspect its payload fields and action enums:
SELECT NETWORK PAYLOAD (10 CUSTOM PACKETS + VANILLA CONTAINER BUTTON):
server→client
vendustry:economy_syncsrc/main/java/com/vendustry/network/EconomySyncPayload.javaPacket Sequence: economy_sync
Updates the client copy of your wallet, bank and card after any change, and on login.
LANE 01
Server (Economy / BankData)
LANE 02
Network (NeoForge Payload)
LANE 03
Client (ClientEconomy Mirror)
STEP 01 · Server → Network
Serialize EconomySyncPayloadReads player WalletData attachment, BankData account balance, and linked card status.
STEP 02 · Network → Client
Send vendustry:economy_sync (S→C)Transmits walletTier (0–3), wallet balance, wallet cap (5k/50k/500k), bank balance, and card flag.
STEP 03 · Client → Client
Update ClientEconomy MirrorRefreshes ATM screen, survival Inventory WalletPanel, and shop balance readouts immediately.
Complete Packet Registry Table (11 Entries)
Section titled “Complete Packet Registry Table (11 Entries)”| Packet Name | Registry ID | Direction | Payload Fields | Action Enums | Java Payload Class |
|---|---|---|---|---|---|
economy_sync |
vendustry:economy_sync |
server→client |
walletTier, wallet, cap, bank, card |
— | EconomySyncPayload.java |
parcel_sync |
vendustry:parcel_sync |
server→client |
count |
— | ParcelSyncPayload.java |
item_values |
vendustry:item_values |
server→client |
values (map of item → Cr) |
— | ItemValuesPayload.java |
market_view |
vendustry:market_view |
server→client |
kind, pos, tag (CompoundTag) |
ENGINEER = 0, TERMINAL = 1, MANAGER = 2 |
MarketViewPayload.java |
wallet_action |
vendustry:wallet_action |
client→server |
action, amount |
DEPOSIT_ALL, DEPOSIT_CARRIED, WITHDRAW, SWAP_CARD |
WalletActionPayload.java |
atm_action |
vendustry:atm_action |
client→server |
action, amount, target |
WALLET_TO_BANK, BANK_TO_WALLET, CASH_TO_BANK, BANK_TO_CASH, TRANSFER, LINK_CARD |
AtmActionPayload.java |
vending_config |
vendustry:vending_config |
client→server |
slot, price, bundle |
— | VendingConfigPayload.java |
market_refresh |
vendustry:market_refresh |
client→server |
kind, pos |
— | MarketRefreshPayload.java |
market_action |
vendustry:market_action |
client→server |
pos, action, text |
RECALL, ACCESS_CODE, PAY_COMPANY, COMPANY_*, MANAGER_* |
MarketActionPayload.java |
suit_action |
vendustry:suit_action |
client→server |
action |
OPEN, TOGGLE_VACUUM, LASER_FIRE, LASER_HOLD |
SuitActionPayload.java |
Vanilla menu button click |
(vanilla) | client→server |
containerId, buttonId |
Offer index / 0 (Collect) / recipe index |
AbstractContainerMenu#clickMenuButton |