

Quest Slot Machine
A casino cabinet for your base. Pull the lever, watch three reels stop one by one and take home whatever the machine decides to give you — from a handful of iron to a nether star.
No mod is required to play it. Craft the machine, craft some tokens and spin. With FTB Quests installed it also adds a quest reward that pays out in free spins, so finishing a quest ends with the reels turning instead of a chest full of items.

Three sevens, and the whole server hears about it.
Pull the lever
Right-click the machine, then press SPIN, pull the lever, or hit Space. The reels stop left to right and the sign lights up with what you won:
- Common, Rare, Epic or JACKPOT!, each in its own colour
- an Epic throws gold nuggets out of the cabinet, a Jackpot throws ingots and announces the winner to everyone on the server
- the prize is already in your inventory before the reels stop, so closing the screen mid-spin never costs you a win
- lose too often and the machine takes pity: after 25 spins without an Epic or a Jackpot, the next one is Epic or better

Every prize and its real chance, straight from the pool the next spin uses.
No hidden odds
The PRIZES button opens the prize table: every tier of the pool your next spin draws from, the real percentage it is rolled with, and every item you can win with how many of it. If a pack changes the pool, the table changes with it — nothing is hardcoded in the screen.

Two blocks tall, lit by its own marquee bulbs, with a lever that drops when somebody spins.
The machine and its tokens
The Slot Machine is a two-block-tall golden cabinet whose bulbs give off light. Place it in your base and spend Slot Tokens on it, one token per spin, standing within 8 blocks of it. When somebody spins, the lever drops for every player nearby.
Both recipes are unlocked from the start, in any world:
- Slot Machine — 4 gold ingots, 2 iron ingots, a diamond, redstone and a comparator
- Slot Token — an emerald and 4 gold nuggets, for 2 tokens

An Epic win paid out by a quest reward.
With FTB Quests: quest rewards you spin for
FTB Quests gains a reward type, Slot Machine Spin. Set how many spins it gives (1 to 100) and which reward pool they draw from; claiming it opens the machine on the spot. In the quest book the reward shows the machine itself with the number of spins on it.
Those spins are free ones: they work anywhere, they are used before your tokens, and they are saved on the player rather than on the screen — close the machine halfway through a streak and the rest are still waiting for you, even after you die. Each spin remembers the pool of the quest that gave it, so an early quest and a late one can pay out of completely different tables.
Without FTB Quests, /slotmachine give hands out the same free spins.
For pack makers
Reward pools are datapack files in data/<namespace>/slot_pools/<name>.json, reloaded with /reload. A tier has a weight and either a list of items with a minimum and maximum amount, or a Pricetag budget:
{ "tiers": [
{ "tier": "common", "weight": 60,
"entries": [ { "item": "minecraft:iron_ingot", "min": 4, "max": 12 } ] },
{ "tier": "jackpot", "weight": 2, "pricetag_budget": 262144 }
] }
questslotmachine:defaultpays out vanilla items, from iron and bread up to netherite and a nether star. It is the pool of Slot Tokens and of quests that don't name one.- With Pricetag installed, a tier with a
pricetag_budgetand no items picks a random item from any mod in the pack, in a stack worth about that much. It never picks anything worth more than the budget, spawn eggs, or items in the#questslotmachine:never_rewardtag (command blocks, barriers, bedrock, spawners…).questslotmachine:pricetagis a ready-made pool that works this way. Without Pricetag those tiers are simply skipped. - A tier that cannot pay anything is left out of the roll and out of the odds shown, so a pool keeps working when a mod it named is missing. A quest that asks for a pool that does not exist falls back to the default one and says so in the log.
- Commands (operators):
/slotmachine give <players> <spins> [pool]queues spins and opens the machine, exactly like the quest reward — handy from KubeJS, a command block or a command reward./slotmachine open <players>just opens it. - Config in
config/questslotmachine-common.toml:pitySpins(25, or 0 to turn it off),announceJackpot,maxFreeSpins(100),tokenPoolandreach(8 blocks). On a server, the server's values are the ones that count. - The token recipe is an ordinary crafting recipe: in a pack where tokens should only come from quests, remove it with KubeJS or a datapack.
Compatibility
- Minecraft 26.1.2, NeoForge. Any NeoForge build for 26.1.2 works.
- FTB Quests: optional, any build for 26.1.2. Without it everything works except the quest reward type.
- Pricetag: optional, for reward pools that pick items by value.
- Needed on both the client and the server. Translations: English and Italian.
License
All rights reserved, with two exceptions: any modpack on CurseForge or Modrinth may include this mod, and anyone may write add-ons for it without bundling it. The full text is in LICENSE.txt inside the jar.
Quest Slot Machine can work together with FTB Quests, but it is not made, endorsed or supported by Feed The Beast.

