Quest Slot Machine
A golden slot machine you play for loot. Pull the lever, stop three reels, win from Common to JACKPOT. Pay with Slot Tokens, with the token a pool picks, or with free spins from FTB Quests. Reward pools are datapack files. No required dependencies.
介绍

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
A pack can also give a reward pool a token of its own: any item, worth one spin or several. You carry it like any other item and the machine takes it before your Slot Tokens, showing which token pays for the next spin.

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:
{ "token": "mymod:gold_ticket", "spins_per_token": 2,
"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.- A pool can name its own token with
token, andspins_per_token(1 to 64) when one is worth more than a single spin. A player carrying it spends it at a machine straight from the inventory, before any Slot Token; one token pays for the spin and the rest wait in the free spin queue of that pool. Carrying the tokens of several pools, they go in pool id order. A pool cannot claim the Slot Token itself — that one follows thetokenPoolsetting. - 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.
常见问题
Quest Slot Machine 支持哪些 Minecraft 版本?
Quest Slot Machine 支持 Minecraft Java 版 26.1.2,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Quest Slot Machine 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
DNomad 的其他作品
查看全部 →Void Nomad
A story quest pack for 26.1.2. Rebuild the lost Outpost of the Void Nomads, send out mining drones and wake the Void Relic all the way to Godhood. 485 quests in English and Italian, paid out on a slot machine.
Crafting Station Multitier
Adds crafting stations with expandable grids up to 9x9, featuring full JEI/EMI integration and compatibility with major storage mods!
Void Relic
Everything is worth something. The void keeps the ledger.
ChestTransporter
Stop moving chests block by block. Just grab the whole thing!
评论
登录后评论和评分