Description
Lucky Enchanted Vending Machine is a placeable, illuminated vending-machine block that opens a confirmation UI when used, showing the 1000 cost, your current balance (uses the server money scoreboard), and the pull odds. Choose Purchase Random Book to confirm the 1000 payment and receive one or more random enchanted books (1% chance to get 2 books, 0.1% chance to get 3 books), or choose Cancel/close to abort with no cost. Purchases play particle and sound effects, give a purchase confirmation message to the buyer, and broadcast a server announcement for the rare three-book jackpot.
Mod Wiki
Lucky Enchanted Vending Machine
Quickstart
- Craft the Lucky Enchanted Vending Machine at a crafting table (recipe below) and place it anywhere in your world.
- Make sure your server has a
moneyscoreboard set up and that you have at least 1,000 coins on it. - Walk up to the machine and interact with it (tap/right-click). A confirmation UI will appear showing the cost, your current balance, and the pull odds.
- Select Purchase Random Book to spend 1,000 coins and receive a random enchanted book. Select Cancel (or close the UI) to back out for free.


Overview
The Lucky Enchanted Vending Machine is a glowing, placeable block that lets players spend server currency for a chance at random enchanted books. Every purchase is a gamble — most pulls yield one book, but rare luck can land you two or even three at once.
What It Adds
- Lucky Enchanted Vending Machine — A full-block, light-emitting vending machine that integrates with your server's
moneyscoreboard. It cannot be destroyed by fire or explosions easily, and it emits a soft glow (light level 10).
How To Use
- Place the machine on any solid surface.
- Interact with it to open the purchase UI. The UI displays:
- The price: 1,000 coins
- Your current balance (pulled live from the
moneyscoreboard) - The pull odds for bonus books
- Choose an option:
- Purchase Random Book — Confirms the transaction. 1,000 coins are deducted and you receive your book(s).
- Cancel / Close — Exits with no charge.
- On a successful purchase, particles and a sound effect play at the machine. If you hit the jackpot (3 books), a server-wide announcement is broadcast to all players.
- If you cannot afford the purchase, the machine plays a denial sound and sends you an error message — no coins are deducted.
Abilities And Mechanics
Pull Odds
| Outcome | Books Received | Chance |
|---|---|---|
| Standard pull | 1 enchanted book | ~98.9% |
| Lucky pull | 2 enchanted books | 1% |
| Jackpot | 3 enchanted books | 0.1% |
Enchantment Pool
Each book is independently randomized. Any of the following enchantments (at a random valid level) can appear:
Aqua Affinity, Bane of Arthropods (I–V), Blast Protection (I–IV), Channeling, Depth Strider (I–III), Efficiency (I–V), Feather Falling (I–IV), Fire Aspect (I–II), Fire Protection (I–IV), Flame, Fortune (I–III), Frost Walker (I–II), Impaling (I–V), Knockback (I–II), Looting (I–III), Loyalty (I–III), Luck of the Sea (I–III), Lure (I–III), Mending, Multishot, Piercing (I–IV), Power (I–V), Projectile Protection (I–IV), Protection (I–IV), Punch (I–II), Quick Charge (I–III), Respiration (I–III), Riptide (I–III), Sharpness (I–V), Silk Touch, Smite (I–V), Soul Speed (I–III), Thorns (I–III), Unbreaking (I–III), Wind Burst (I–III), Breach (I–IV), Density (I–V).
Currency
The machine reads and writes to the money scoreboard objective. Ensure this scoreboard exists on your server and players have scores assigned to it before using the machine.
Progression And Strategy
- Budget wisely. Each pull costs 1,000 coins. Save up before buying in bulk to maximize chances of landing high-tier enchantments like Mending, Fortune III, or Efficiency V.
- Watch for the jackpot announcement. A server-wide broadcast signals a 3-book pull — rare enough to be a notable event.
- Stack pulls over time. Since enchantments are fully random, repeated purchases increase your chances of filling out your enchantment library. Target the machine when your balance is comfortably above 1,000 to avoid running dry.
- Place it accessibly. The machine works anywhere blocks can be placed, making it ideal as a central feature in a server hub or shop district.
How to install
Download the mod and follow the step-by-step installation guide.
Players also liked
Jackpot Slot Machine

Placeable slot machine block; right-click to open a polished custom UI with three-item reel animations and choose a bet (1,000; 10,000; or 100,000) using the server money scoreboard—the bet amount is deducted when you spin and outcomes pay 1.5× for two matching items, 3× for thre…
Higher Or Lower Table

Place the "Higher Or Lower" poker table and interact with it to open the betting UI, choose a bid (100, 1,000, 10,000, or 50,000) and pick whether the roll will be higher or lower than 10. The table draws a random number from 1–20: a correct pick wins 1.3× your bet, an incorrect…
Royal Flush Table

Placeable custom-model poker table block that functions as an in-game poker machine; interact to open the poker UI where you pick a bid increment, then play rounds where you can Fold (forfeit bet and end), Stand (draw an extra card), or Call (place the selected additional bet) un…
Nexus Horizon

Nexus Horizon is a placeable multiblock launch console—interact with any part to open its GUI, enter world coordinates, choose a size (small, medium, large, catastrophic) and press Launch; the console has a 15-second cooldown. Activating triggers an epic animated sequence with ro…
This mod is licensed under the CreativeMode Mods License.




