Lucky Enchanted Vending Machine

v2MC Bedrock
354 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

Higher Or Lower Table – image 1
219 downloadsMinecraft BedrockMod version 2

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
Coconuts – image 1
58 downloadsMinecraft BedrockMod version 1

Coconuts

Have you run out of money while making your movie epic, but still need horses... here I found some coconuts in Mercia that were left behind by a family of European Swallows.

Tool · Fun · Creative · +1
Chilltide Tools – image 1
19 downloadsMinecraft BedrockMod version 2

Chilltide Tools

Adds a new mod: the Chill. It is a new mob that is similar to the breeze and blaze, and it drops sea sticks which can be crafted with cobblestone to make sea tools.

OP Fishing Rod – image 1
1012 downloadsMinecraft BedrockMod version 3

OP Fishing Rod

OP Fishing Rod is a supercharged fishing rod that only works when you aim at water: use it while targeting a water block to send a hook that creates a visible particle line to the splash point and a small bubble splash on impact. Using it while not aimed at water shows a message;…

Blackjack Table – image 1
207 downloadsMinecraft BedrockMod version 2

Blackjack Table

Placeable Blackjack Table: a custom-modeled block that runs an interactive blackjack game—right-click the table to open the betting UI and choose from fixed bet buttons (100, 1,000, 10,000, 100,000 coins); the selected bet is validated against your scoreboard money before the rou…

Block

This mod is licensed under the CreativeMode Mods License.