The Vending Machine
Index · Previous: NEI and recipe lookup · Next: LittleTiles
A small mod that grew a lot: the vending machine went to 0.4.100 with a rewritten interface, team wallets, trade cooldowns, search and its own music.
Vending Machine Music
Adds an interactive soundtrack that plays when you open the Vending Machine GUI, with smooth music fading in and out alongside the game's background music. A persistent mute button lets you disable the vending machine soundtrack when desired.
Shipped in: VendingMachine #99
New features and content
The vending machine interface has been completely rewritten with a cleaner design, new tab icons with hover animations, and resizable main panels. Team wallets now scale trade limits based on how many team members are online, and you can sneak right-click to deposit coins without opening the GUI. Coins now display in your ME system, animated coin displays show real-time transactions, and a new ME Uplink Hatch automatically pulls coins from your ME network to complete purchases. The mod also added Russian localization and crafted new machine casings with CTM support.


Shipped in 39 pull requests
- Add RU locale (VendingMachine #167)
- Show coin icon in trade tooltip cost line (VendingMachine #166)
- Add sneak right-click coin deposit without opening the GUI (VendingMachine #161)
- new tab icons (VendingMachine #158)
- Add main panel resize and button to hide coin display (VendingMachine #153)
- CTM for casings (VendingMachine #151)
- show coins in ME system in coin display (VendingMachine #146)
- ME Vending Uplink improvements (VendingMachine #141)
- New casing texture (VendingMachine #136)
- Add Vending Machine Casing (VendingMachine #135)
- Add item chute (VendingMachine #120)
- ME Uplink Hatch now Autopulls coins from ME system for purchases (VendingMachine #119)
- Use coin icons from GT CoreMod (VendingMachine #117)
- Tab icon hover animation (VendingMachine #116)
- Localization (VendingMachine #115)
- Animated coin displays (VendingMachine #111)
- Music volume pop-up panel (VendingMachine #110)
- Add interaction sound effects (VendingMachine #109)
- Scroll to top when searchbar changes (VendingMachine #106)
- Cooldown scaling for teams (VendingMachine #103)
- add wallet button icons (VendingMachine #100)
- Vending Machine Music (VendingMachine #99)
- Team wallets (VendingMachine #95)
- Addhighlighting for tabs when searching for items (VendingMachine #93)
- Show trades which share a cooldown (VendingMachine #76)
- Support all coins for NEI trade preview (VendingMachine #70)
- Favourites tab (VendingMachine #68)
- Check if player is not accessing vending machine before reloading tradestate (VendingMachine #66)
- Added trade state reload command (VendingMachine #64)
- Add structure error (VendingMachine #61)
- Hot database reload (VendingMachine #58)
- Add restock notifications (VendingMachine #53)
- Increased slot count to 8 (VendingMachine #50)
- Add Oredict tooltips (VendingMachine #49)
- Added coin add, set and reset commands. (VendingMachine #38)
- Support non consumable items (VendingMachine #29)
- Changes: (VendingMachine #12)
- Qol toggles (VendingMachine #10)
- Update zh_CN.lang (VendingMachine #6)
Changes
Trade cooldowns and team functionality have been overhauled to work with the latest GTNHLib, and coin display rendering now uses smaller backgrounds with updated textures and button styles. Volume controls are now client-side only for better performance, renamed items render more legibly, and the vending machine structure now shows incomplete status properly. In-game config editing is now available, and various rendering improvements were made to trade item displays and coin icon placement.



Shipped in 21 pull requests
- Revert API change (VendingMachine #162)
- modify the rendering order of trade item display and add new background textures (VendingMachine #149)
- Switch to small coin BGs (VendingMachine #139)
- Change coin textures and add new button textures (VendingMachine #131)
- Scale trade limit with online team member count (VendingMachine #128)
- Update for newer GTNHLib team stuff (VendingMachine #124)
- Only render volume controls clientside (VendingMachine #118)
- Added volume slider color enum (VendingMachine #114)
- Updated wallet button icons (VendingMachine #107)
- Override getWailaBody for MTEVendingMachine (VendingMachine #98)
- Make renamed items look better (VendingMachine #91)
- bump GT to account for https://github.com/GTNewHorizons/GT5-Unofficial/pull/5781 (VendingMachine #73)
- Registry Name Migration for NewHorizonsCoreMod (VendingMachine #57)
- Make Configs editable from in-game (VendingMachine #45)
- Fixed coin names (VendingMachine #39)
- Ignore trade nbt (VendingMachine #34)
- Update GT package to reference new location of MTEMultiBlockBaseGui (VendingMachine #31)
- Fix recipe displays (VendingMachine #30)
- Updated save format (VendingMachine #9)
- Structure changes (VendingMachine #2)
- Adjust tab pixels (VendingMachine #1)
Fixes
Fixed the vending machine causing unnecessary chunk updates every tick, corrected music looping behavior, and resolved crashes from upstream MUI2 sync issues. Item ejection direction, trade cooldown text colors, and the mute button's strange behavior have all been corrected. Structure tooltips, trades with no conditions, item drops on machine break, and NEI bookmark overlays now work as expected.


Shipped in 28 pull requests
- fix gt loader check (VendingMachine #163)
- Fix VM structure tooltip (VendingMachine #157)
- Fix cooldown text colour (VendingMachine #148)
- Fix mute button having weird behavior (VendingMachine #140)
- Fix several bugs (VendingMachine #134)
- Fix music not looping (VendingMachine #127)
- Reset color state in TradeItemDisplayWidget (VendingMachine #113)
- fix nei bookmarks covering the qol buttons and trade tabs (VendingMachine #105)
- Fix VM causing a chunk update every tick (VendingMachine #97)
- Missed an equals sign (VendingMachine #96)
- fix no condition trades (VendingMachine #90)
- Fix drops on vending machine break (VendingMachine #81)
- Fixed crash due to mui2 upstream sync (VendingMachine #79)
- Fix item ejecting direction (VendingMachine #67)
- Show Structure Incomplete When Structure is Incomplete (VendingMachine #65)
- Mui-2-fix (VendingMachine #62)
- Fix potential NPE crash from bad trade request with invalid tradegroup. (VendingMachine #56)
- Fixed oredict crash (VendingMachine #52)
- Trade Logic Fixes (VendingMachine #47)
- Fix tile data saving (VendingMachine #42)
- Fix trade limit (VendingMachine #40)
- Made uplink texture update correctly when powered by ME system (VendingMachine #35)
- Fixed bug where machine still works when multi is not formed (VendingMachine #33)
- Fixed Coins leaking into SP (VendingMachine #26)
- Fix coins voiding (VendingMachine #24)
- Fix various issues (VendingMachine #22)
- Fix currency sync (VendingMachine #21)
- Fixed NEI update compile errors (VendingMachine #20)