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
Opening the Vending Machine now plays its own track; Minecraft's background music fades out as it fades in, and back in when you close the GUI. 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 a new look: new category tab icons that nudge when you hover them, a panel that grows with your screen, and a button to hide the coin display. Team wallets scale the number of trades that can be on cooldown at once with how many team members are currently online (up to a configurable cap), and you can sneak-right-click the machine to deposit the coins in your hand without opening the GUI. The coin display now counts coins stored in your ME network alongside the ones in your wallet, the amount pops when it changes, and the ME Uplink Hatch pulls the coins it needs straight out of the network to finish a purchase. The mod also gained a Russian translation and its own Vending Machine Casing block, with connected textures.


Shipped in 38 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)
- 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
The coin display uses smaller backgrounds and redrawn 16x16 coin icons, with new eject buttons. Fixed a crash that could occur around the volume controls, renamed trade items now also show their base item name (and drop the leading '1 ' when you only get one), and WAILA now reports an unformed Vending Machine as an incomplete structure. In-game config editing is now available.

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, and item drops on machine break now work as expected, and NEI's bookmark panel no longer covers the machine's buttons and category tabs.
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)
Index · Previous: NEI and recipe lookup · Next: LittleTiles
Contributors
Everyone who authored, reviewed or co-authored a change on this page, with how many of them:
@cubefury (75), @tiffit (23), @UltraProdigy (23), @YannickMG (10), @Dream-Master (7), @FrostyFire1 (7), @Ranzuu (5), @chrombread (4), @Nikolay-Sitnikov (4), @boubou19 (3), @Caedis (3), @Eldrinn-Elantey (3), @ABKQPO (2), @Alexdoru (2), @Ruling-0 (2), @AnsonYeung (1), @Connor-Colenso (1), @DarkShadow44 (1), @evgengoldwar (1), @felixfour (1), @glektarssza (1), @hinyb (1), @hiroscho (1), @Kogepan229 (1), @kuba6000 (1), @LazyFlesh (1), @lc-1337 (1), @leagris (1), @MalTeeez (1), @Miklebe (1), @NotAPenguin0 (1), @Omgise (1), @PLASMAchicken (1), @purebluez (1), @Pxx500 (1), @Quetz4l (1), @TheYoingLad (1), @VortexSo4 (1), @Yoshy2002 (1)