300 free coinsevery week

Lucky Enchanted Vending Machine

v2MC Bedrock
343 downloads

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

  1. Craft the Lucky Enchanted Vending Machine at a crafting table (recipe below) and place it anywhere in your world.
  2. Make sure your server has a money scoreboard set up and that you have at least 1,000 coins on it.
  3. 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.
  4. 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.
minecraft:iron_ingot
minecraft:gold_ingot
minecraft:iron_ingot
minecraft:enchanted_book
minecraft:bookshelf
minecraft:enchanted_book
minecraft:iron_ingot
minecraft:glowstone
minecraft:iron_ingot
Arrow
com_lucky_enchanted_vending_machine_i7hdfof3:my_block

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 money scoreboard. It cannot be destroyed by fire or explosions easily, and it emits a soft glow (light level 10).

How To Use

  1. Place the machine on any solid surface.
  2. Interact with it to open the purchase UI. The UI displays:
    • The price: 1,000 coins
    • Your current balance (pulled live from the money scoreboard)
    • The pull odds for bonus books
  3. 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.
  4. 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.
  5. 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

OutcomeBooks ReceivedChance
Standard pull1 enchanted book~98.9%
Lucky pull2 enchanted books1%
Jackpot3 enchanted books0.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 – image 1
1.2kMC Bedrockv3

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…

Block · Fun · Functional · +6
Higher Or Lower Table – image 1
203MC Bedrockv2

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…

Block · Functional · Fun · +1
Royal Flush Table – image 1
249MC Bedrockv2

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…

Block · Fun · Cool · +3
Nexus Horizon – image 1
Staff Pick
461MC Bedrockv5

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…

3D Model · Functional · OP · +5
Thunder Mace – image 1
697MC Bedrockv1

Thunder Mace

Thunder Mace — a heavy, thunderous mace that deals massive melee damage (about 50% of a target's max health) and launches hit players a very long distance with strong knockback. Visual: spiked, truck-like impact.

Tool · OP

This mod is licensed under the CreativeMode Mods License.