Skip to content
VENDUSTRYNEOFORGE 1.21.1 // CORP. WIKI
◆ Credits (Cr)
TERMINAL // ARCHIVE RECORD

vending_config

client→servervendustry:vending_configsrc/main/java/com/vendustry/network/VendingConfigPayload.java

Packet Sequence: vending_config

The owner sets a slot's price and bundle size in the manage screen.

LANE 01
Client (VendingManageScreen)
LANE 02
Server (VendingManageMenu)
LANE 03
Server (VendingMachineBlockEntity)
⇄ vending_config · Fields: containerId, slot, price, bundle
STEP 01 · Client → Server
Edit Slot Price or Bundle Size

Shop owner adjusts slot (0–5) price (0–10,000 Cr) or bundle count (1–64).

STEP 02 · Server → Server
Send vendustry:vending_config (C→S)

Verifies owner has VendingManageMenu open for the target machine.

STEP 03 · Server → Client
Commit Offer & Sync Block

Updates VendingOffer in VendingMachineBlockEntity and marks block entity for client sync.

◆

Related Wiki Entries & System Interactions

menu:vending_manage → sends-packet
vending_config(slot, price, bundle)Verify owner & clamp price<=10000, bundle 1..64Block entity updateClient (VendingManageScreen)Server (VendingManageMenu)VendingMachineBlockEntityClient (VendingManageScreen)Server (VendingManageMenu)VendingMachineBlockEntity