将你的 Cobblemon 世界打造成玩家冒险之余也乐于造访的去处。
Cobblemon MiniGames 添加了一个完全可玩的街机厅:包含八款投币小游戏、四张弹球台、四台扭蛋机、街机代币(Arcade Coins)、一个代币收纳盒以及一个奖励商店。在轮盘赌、老虎机、Flappy Bird、方块堆叠、贪吃蛇、赛马、Voltorb Flip、21点(Blackjack)和弹球中赢取代币,然后将其用于兑换可配置的奖励,或从扭蛋机中获取宝可梦。
功能特性
- 街机游戏:灵感源自《宝可梦 绿宝石》的游戏角,每款游戏都有独特的主题外观。
- 弹球:四张球台(喵喵、地鼠、海豹球和耿鬼),每张球台都有各自的目标和奖品。
- 机器设备:可以从迷你游戏主控制台游玩所有游戏,也可以为每款游戏放置专用的街机柜,或通过商店机器打开奖励商店。它们的屏幕会播放动画演示。
- 扭蛋机:四台机器,根据稀有度发放宝可梦(或你选择的物品)。
- 街机代币、代币收纳盒和奖励商店。
- 服务器设置简便:游戏规则、价格、奖品和合成配方均可调整。
小游戏
轮盘赌 (Roulette)
轮盘赌灵感源自《宝可梦 绿宝石》中的轮盘赌桌。玩家进入后首先选择一张桌子:左侧红色桌子使用较低的默认注码,右侧绿色桌子使用较高的注码;每隔七个 Minecraft 日,右侧桌子会成为服务日桌子,并使用其配置好的特定注码。
选择桌子后,玩家可以押注宝可梦列、颜色行或确切方格。旋转一次消耗该桌子的注码,并让一颗球落入转盘。获胜者获得 注码 * 倍数 的赔付,本轮会将落下的球保留,直到放置了六颗球或没有有效方格为止。如果玩家在回合中途离开稍后返回,活跃的轮盘赌回合将会恢复。
赔率基于所选区域:
- 列押注:根据该列已占用的球数,赔付 x6、x4 或 x3。
- 行押注:根据该行已占用的球数,赔付 x4 或 x3。
- 确切方格押注:若球落在该方格,赔付 x12。
- 当棋盘清空时,下一位玩家返回到选桌阶段。
老虎机 (Slot Machine)
老虎机灵感源自《宝可梦 绿宝石》中的老虎机。玩家投入一到三个投注单位,每个单位的成本由配置的 slotmachine.coinToPlay 决定,启动卷轴后,使用动作按钮停止每个卷轴。一个单位激活中间行,两个单位激活上、中、下行,三个单位激活包括对角线在内的全部五行。
最大投注 (Bet Max) 最多投入三个投注单位,并在接受全部三个单位后开始旋转。重赛(Replay)和强力匹配(Power matches)算作机器的胜利流程,但重赛不支付硬币,而强力匹配会增加皮卡电力(Pika Power)。皮卡电力可以触发“卷轴时间(Reel Time)”,提供一段特殊的短序列,并可能给予更慢的奖励旋转。
当前符号赔率:
- 樱桃:中间行赔付 2 枚硬币,上/下樱桃行赔付 4 枚硬币。
- 莲叶童子 (Lotad):赔付 6 枚硬币。
- 小拉达 (Azurill):赔付 12 枚硬币。
- 电力 (Power):赔付 3 枚硬币并增加皮卡电力。
- 混合 7:赔付 90 枚硬币。
- 红色 7:赔付 300 枚硬币。
- 蓝色 7:赔付 300 枚硬币,并将下一次卷轴时间标记为幸运。
- 重赛:算作匹配但不支付硬币。
Flappy Bird
Flappy Bird 消耗配置的入场费用,然后开始倒计时。玩家操控巴大蝶穿过障碍物间隙。每通过一个障碍物得一分,并根据配置的步长增加速度,从配置的基准速度开始,上限为配置的最大速度。碰撞结束时,根据 分数 * 倍数 支付街机代币。
方块堆叠 (Block Stacker)
方块堆叠消耗配置的入场费用,然后要求玩家逐行停止移动方块。错过任何方块都会导致运行结束。默认情况下,到达第 6 行提供 50 枚硬币的兑现选项,第 7 行提供 250 枚硬币,第 8 行支付 1000 枚硬币的头奖。兑奖金额(显示在其对应的行旁边)以及这些行的移动速度都可以在配置文件中调整。在每个兑现提示处,玩家可以选择领取当前奖励或继续挑战。
贪吃蛇 (Snake)
贪吃蛇消耗配置的入场费用,然后让玩家控制阿柏怪在场地上移动。每吃一颗浆果加一分并使蛇身变长。撞墙或撞到蛇身会导致运行结束,并根据 分数 * 倍数 支付街机代币。
赛马 (Derby)
赛马生成六名赛车手,然后让玩家选择一名并每次以 10 枚硬币为步长进行投注。最大投注额为玩家当前拥有的街机代币数量,按 10 枚硬币的步长向下取整。选定的赛车手必须获得第一名才能获胜。赔率取决于投注单上显示的赛车手赔率。
投注单可以显示以下赔率:
- 赔率 1:x1.1,即 10 枚硬币投注返回 11。
- 赔率 2:x1.2,即 10 枚硬币投注返回 12。
- 赔率 3:x1.3,即 10 枚硬币投注返回 13。
- 赔率 4:x1.5,即 10 枚硬币投注返回 15。
- 赔率 5:x2,即 10 枚硬币投注返回 20。
- 赔率 6:x3,即 10 枚硬币投注返回 30。
Voltorb Flip
Voltorb Flip 是一款受 Voltorb Flip Rogue 启发的风险与回报谜题。开始一局会消耗配置的入场费用,然后展示一个 5x5 的隐藏卡牌棋盘。每张卡牌要么是伏特攻击,要么是数字 1、2 或 3。右侧和底部边缘的线索显示了每行或每列的卡牌总价值和伏特攻击卡牌的数量。
目标是在不揭示伏特攻击的情况下揭示所有的 2 和 3 卡牌。揭示 1 是安全的,但它不会增加赔付。揭示 2 或 3 会乘以当前的棋盘价值。玩家可以在揭示模式和笔记模式之间切换,然后在解题时为隐藏的卡牌标记关于 1、2、3 或伏特攻击的笔记。
完成一块面板会将该面板的价值加入当前游玩积分池,并提供选择:提现或进入下一关。关卡越高,潜在收益越大,但也会出现更多的 Voltorb(电球)。如果玩家选择提现,已存入的街机币将支付给玩家。如果玩家揭开了 Voltorb,则当前游玩积分池清零,收益为 0。
与原版 Game Corner 游戏不同,此版本允许玩家在面板进行中时离开。面板状态会被保留,因此玩家可以稍后返回并继续同一局游戏。离开不会结算当前积分池中的奖励;玩家必须通过“面板已完成”提示进行提现操作,才能领取已存储的 winnings(奖金)。
Blackjack(二十一点)
Blackjack 允许玩家以 10 枚街机币为单位下注,并与庄家对弈。目标是达到 21 点,或在不超过 21 点的前提下,点数比庄家更接近 21。桌子旁边的面板会显示最低下注额、你的当前下注额以及当前轮次归属。
在玩家回合中,可以选择再拿一张牌或停牌。庄家会在点数至少达到 17 点前持续抽牌。
当庄家的明牌为 A(Ace),且玩家拥有足够的街机币时,会出现保险(Insurance)选项。其费用为当前下注额的一半。如果庄家持有 Blackjack(黑杰克/天然 21),保险将返还原始下注额的金额;否则,保险失效,牌局正常继续。
当玩家的前两张牌总和为 9、10 或 11,且玩家有足够街机币匹配当前下注额时,会出现加倍(Double)选项。选择此项将使下注额翻倍,只发一张额外的牌,并结束玩家回合。
普通获胜返还两倍下注额,Blackjack 返还两倍半下注额,平局则返还原始下注额。输掉牌局或爆牌(超过 21 点)则无任何收益。如果玩家在已下注后离开,游戏会被保存,稍后可继续。
Pinball(弹珠台)
基于《宝可梦 绿宝石》GameCorner Expansion 中的弹珠台设计的四个弹珠台。每个弹珠台都有独立的机器,并且全部四种均可在 MiniGames Machine(小游戏机)上游玩。
按 Enter、Space 或点击弹珠台以启动并发射弹珠。使用 A/Z 控制左侧弹板,D/X 控制右侧弹板。当时间耗尽、清空弹珠台或失去 Diglett(地鼠)的唯一一颗弹珠时,回合结束,随后你将获得奖品。
如果在回合中途关闭弹珠台界面,游戏将被暂停,你可以稍后继续而不必再次付费。
| 弹珠台 |
目标 |
默认时间 |
奖品 |
| Meowth(喵喵) |
击中喵喵使其掉落宝石,然后收集它们。连续击中的宝石价值更高。达到 20 分。 |
60 秒 |
每分 3 枚硬币 |
| Diglett(地鼠) |
一颗弹珠:击中所有 31 只 Diglett,然后三次击败 Dugtrio(三地鼠)。 |
120 秒 |
每只 Diglett 3 枚,清空 Diglett 区域奖励 100 枚,击败 Dugtrio 奖励 150 枚 |
| Seel(小海狮) |
在海面上浮起时击中 Seel。连续击中价值更高。达到 20 分。 |
90 秒 |
每分 4 枚硬币 |
| Gengar(耿鬼) |
击中 Gastly(鬼斯)10 次,Haunter(鬼斯通)10 次,然后 Gengar 5 次。 |
90 秒 |
每只 Gastly 3 枚加上每只 Haunter 7 枚,完成弹珠台奖励 250 枚 |
在 Meowth 和 Seel 中,丢失弹珠会扣除 4 分,并重新发射一颗新弹珠。Meowth 的宝石并非永久存在:它们在消失前会闪烁。
Gacha(扭蛋)
Gacha 直接从四个专用机器方块打开,而非从街机主屏幕进入。Basic(基础)、Great(高级)、Ultra(超极)和 Master(大师)机器分别对应逐渐扩大的稀有度范围:
- Basic(粉色)包含
common(普通)宝可梦。
- Great(蓝色)包含
common(普通)和 uncommon( uncommon )宝可梦。
- Ultra(黄色)包含
common(普通)、uncommon( uncommon )和 rare(稀有)宝可梦。
- Master(紫色)包含所有四种稀有度,包括
ultra-rare(超稀有)。
默认情况下,可用的宝可梦完全由 Cobblemon 世界的自然生成池生成。服务器所有者可以配置任意机器使用手动物种列表,或者发放配置的物品而非宝可梦。
每位玩家会根据其队伍和 PC 中当前注册的物种获得个性化奖池。增加赌注不会改变机器的稀有度概率、闪光几率或形态几率。相反,它会逐步提高选中宝可梦为玩家尚未拥有的物种的概率。在最大赌注下,若所选稀有度中仍至少有一种缺失宝可梦,则该稀有度的抽取保证获得一个新物种。
结果可能独立地为闪光或使用符合条件的非标准形态。Mega、超级巨化(Gigantamax)和极巨化(Dynamax)形态被排除在随机形态选择之外。宝可梦仅在揭示动画结束后才会交付。
Machines(机器)
MiniGames Machine 和专用机柜
MiniGames Machine(小游戏机) 打开主屏幕,玩家可在其中选择任何启用的游戏,包括四个弹珠台。
每种游戏也有其自己的 专用机柜,可直接打开该游戏。每个机柜都有带有主题侧边装饰的艺术设计,展示该游戏的宝可梦:
| 机器 |
游戏 |
宝可梦 |
| Snake Machine(贪吃蛇机) |
Snake(贪吃蛇) |
Onix(大岩蛇) |
| Flappy Bird Machine(愤怒的小鸟机) |
Flappy Bird(Flappy Bird) |
Butterfree(巴大蝶) |
| Block Stacker Machine(叠方块机) |
Block Stacker(叠方块) |
Rhydon(豪力) |
| Blackjack Machine(二十一点机) |
Blackjack(二十一点) |
Sableye(勾魂眼) |
| Derby Machine(赛马机) |
Derby(赛马) |
Ponyta(小火马) |
| Voltorb Flip Machine(电球翻转机) |
Voltorb Flip(电球翻转) |
Voltorb(电球) |
| Slot Machine(老虎机) |
Slot Machine(老虎机) |
Pikachu(皮卡丘) |
| Roulette Machine(轮盘机) |
Roulette(轮盘) |
Wynaut(果然翁幼崽) |
MiniGames Machine 和机柜的屏幕会播放其游戏的简短动态演示视频。在 NeoForge 上,这些屏幕在黑暗中会发光。
Shop Machine(商店机)
Shop Machine(商店机) 是一个带有条纹遮阳篷和“SHOP”标志的白色售货亭。右键单击它以直接打开奖励商店。
Pinball tables(弹珠台)
Pinball Meowth(弹珠台·喵喵)、Pinball Diglett(弹珠台·地鼠)、Pinball Seel(弹珠台·小海狮) 和 Pinball Gengar(弹珠台·耿鬼) 各自拥有独特的主题台面,并配有带动态灯光的招牌。右键单击机器即可游玩。
Coin Case(币盒)
Coin Case(硬币盒)在物品数据中存储虚拟街机币。如果玩家的背包中有 Coin Case,游戏发放的奖励会优先存入其中。玩家还可以使用 Coin Case 界面将背包中的实体硬币存入,或将已存储的硬币取出为物品堆叠。
重要细节:
- 共享硬币上限为 99999999。
- 当存在 Coin Case 时,奖励会先存入 Coin Case。
- 取款操作仅根据背包容量生成相应数量的实体硬币。
合成表
MiniGames Coin 和 Coin Case
MiniGames Coin Case
- 1 Cobblemon Relic Coin
- 4 Leather
MiniGames Coin
- 1 Cobblemon Relic Coin
- 4 Iron Nuggets
若要一次性合成九个,请使用 1 Relic Coin Pouch 和 4 Iron Ingots,采用相同的形状(效率与九个单独合成相同)。
MiniGames Machine
- 4 any Planks
- 2 Gold Ingots
- 2 Iron Ingots
- 1 Emerald
Shop Machine
- 4 any Planks
- 1 Glass
- 2 Iron Ingots
- 1 Redstone
- 1 White Dye
Dedicated cabinets
所有八种机台均使用相同的形状:4 any Planks、1 Glass、2 Iron Ingots、1 Redstone 以及 1 种用于选择游戏的染料。
| Dye |
Machine |
| Lime Dye |
Snake Machine |
| Light Blue Dye |
Flappy Bird Machine |
| Gray Dye |
Block Stacker Machine |
| Purple Dye |
Blackjack Machine |
| Orange Dye |
Derby Machine |
| Red Dye |
Voltorb Flip Machine |
| Yellow Dye |
Slot Machine |
| Cyan Dye |
Roulette Machine |
Pinball tables
所有四种弹球桌均使用相同的形状:2 Glass、4 Iron Ingots、1 Redstone 以及 1 种用于选择弹球桌的染料。
| Dye |
Table |
| Yellow Dye |
Pinball Meowth |
| Brown Dye |
Pinball Diglett |
| Light Blue Dye |
Pinball Seel |
| Purple Dye |
Pinball Gengar |
Gacha machines
所有四种 Gacha 机台均使用相同的合成形状:
- 3 Glass
- 4 Iron Ingots
- 1 Redstone
- 1 tier dye
tier dye 决定结果类型:
- Pink Dye 创建 Basic Gacha Machine。
- Blue Dye 创建 Great Gacha Machine。
- Yellow Dye 创建 Ultra Gacha Machine。
- Purple Dye 创建 Master Gacha Machine。
配置
服务器配置 (config.yml)
服务器配置文件位于 config/cobblemonminigames/config.yml。
默认 config.yml:
pinball:
meowth:
enabled: true
time: 60
coinToPlay: 1
diglett:
enabled: true
time: 120
coinToPlay: 1
seel:
enabled: true
time: 90
coinToPlay: 1
gengar:
enabled: true
time: 90
coinToPlay: 1
snake:
enabled: true
coinToPlay: 1
multiplier: 2.0
flappybird:
enabled: true
coinToPlay: 1
multiplier: 2.0
speedBase: 2.0
speedStep: 0.05
speedMax: 7.0
slotmachine:
enabled: true
coinToPlay: 1
blockstacker:
enabled: true
coinToPlay: 1
row6Prize: 50
row7Prize: 250
row8Prize: 1000
row6SpeedFrames: 4
row7SpeedFrames: 3
row8SpeedFrames: 2
derby:
enabled: true
voltorbflip:
enabled: true
coinToPlay: 10
blackjack:
enabled: true
roulette:
enabled: true
leftTableBet: 1
rightTableBet: 3
serviceDayBet: 6
gacha:
basic:
enabled: true
usePokemonList: false
useItemList: false
minWager: 50
maxWager: 9999
shinyChancePercent: 0.01220703125
aspectChancePercent: 5.0
rarities:
common: 100.0
great:
enabled: true
usePokemonList: false
useItemList: false
minWager: 250
maxWager: 9999
shinyChancePercent: 0.01220703125
aspectChancePercent: 5.0
rarities:
common: 70.0
uncommon: 30.0
ultra:
enabled: true
usePokemonList: false
useItemList: false
minWager: 1000
maxWager: 9999
shinyChancePercent: 0.01220703125
aspectChancePercent: 5.0
rarities:
common: 45.0
uncommon: 35.0
rare: 20.0
master:
enabled: true
usePokemonList: false
useItemList: false
minWager: 4500
maxWager: 9999
shinyChancePercent: 0.01220703125
aspectChancePercent: 5.0
rarities:
common: 35.0
uncommon: 30.0
rare: 25.0
ultra-rare: 10.0
recipes:
arcadeCoinCrafting: true
arcadeMachineCrafting: true
basicGachaMachineCrafting: true
greatGachaMachineCrafting: true
ultraGachaMachineCrafting: true
masterGachaMachineCrafting: true
snakeMachineCrafting: true
flappyBirdMachineCrafting: true
blockStackerMachineCrafting: true
blackjackMachineCrafting: true
derbyMachineCrafting: true
voltorbFlipMachineCrafting: true
slotMachineCrafting: true
rouletteMachineCrafting: true
shopMachineCrafting: true
meowthPinballMachineCrafting: true
diglettPinballMachineCrafting: true
seelPinballMachineCrafting: true
gengarPinballMachineCrafting: true
现有的 config.yml 文件会自动引入新增且缺失的配置键,而不会覆盖服务器管理员已配置的值。
从没有独立 Gacha 合成设置的版本升级时,每个缺失的设置会继承现有的 arcadeMachineCrafting 值一次。此后,每个机台的合成均可独立配置。
| 键 |
值 |
描述 |
pinball.<table>.enabled |
true |
在主页显示弹球台,并允许从其专用机柜和通过命令进行游玩。<table> 可以是 meowth、diglett、seel 或 gengar。 |
pinball.<table>.time |
60 / 120 / 90 / 90 |
喵喵(Meowth)、地鼠(Diglett)、小海狮(Seel)和耿鬼(Gengar)的回合时间(秒)。数值限制在 1 到 86400 之间。下一回合将使用新的时间设置。 |
pinball.<table>.coinToPlay |
1 |
在该弹球台开始一局时消耗的街机币。设为 0 则免费游玩。数值限制在 0 到 99999999 之间。 |
snake.enabled |
true |
在主页显示贪吃蛇,并允许服务器打开和处理游戏。 |
snake.coinToPlay |
1 |
贪吃蛇开始一局时消耗的街机币。 |
snake.multiplier |
2.0 |
用于计算贪吃蛇奖励的分数的乘数。小数结果四舍五入为最接近的整数。 |
flappybird.enabled |
true |
在主页显示 Flappy Bird,并允许服务器打开和处理游戏。 |
flappybird.coinToPlay |
1 |
Flappy Bird 开始一局时消耗的街机币。 |
flappybird.multiplier |
2.0 |
用于计算 Flappy Bird 奖励的分数的乘数。小数结果四舍五入为最接近的整数。 |
flappybird.speedBase |
2.0 |
Flappy Bird 的起始速度乘数。数值限制在 0.01 到 20.0 之间。 |
flappybird.speedStep |
0.05 |
每清除一个障碍物增加的速度乘数。设为 0 可保持固定速度。数值限制在 0 到 20.0 之间。 |
flappybird.speedMax |
7.0 |
Flappy Bird 的最大速度乘数。数值限制在 speedBase 到 20.0 之间。 |
slotmachine.enabled |
true |
在主页显示老虎机,并允许服务器打开和处理游戏。 |
slotmachine.coinToPlay |
1 |
每次下注老虎机单位所消耗的街机币。 |
blockstacker.enabled |
true |
在主页显示方块堆叠,并允许服务器打开和处理游戏。 |
blockstacker.coinToPlay |
1 |
方块堆叠开始一局时消耗的街机币。 |
blockstacker.row6Prize |
50 |
清除第 6 行时作为提现奖励提供的街机币。数值限制在 1 到 99999999 之间。 |
blockstacker.row7Prize |
250 |
清除第 7 行时作为提现奖励提供的街机币。数值限制在 1 到 99999999 之间。 |
blockstacker.row8Prize |
1000 |
清除第 8 行时作为最高奖金支付的街机币。数值限制在 1 到 99999999 之间。 |
blockstacker.row6SpeedFrames |
4 |
第 6 行(第一个奖金行)的移动延迟。数值越低越快。数值限制在 1 到 5 之间。 |
blockstacker.row7SpeedFrames |
3 |
第 7 行(第二个奖金行)的移动延迟。数值越低越快。数值限制在 1 到 5 之间。 |
blockstacker.row8SpeedFrames |
2 |
第 8 行(最高奖金行)的移动延迟。数值越低越快。数值限制在 1 到 5 之间。 |
derby.enabled |
true |
在主页显示赛马,并允许服务器打开和处理游戏。 |
voltorbflip.enabled |
true |
在主页显示雷丘翻牌,并允许服务器打开和处理游戏。 |
voltorbflip.coinToPlay |
10 |
雷丘翻牌开始一局时消耗的街机币。 |
blackjack.enabled |
true |
在主页显示二十一点,并允许服务器打开和处理游戏。 |
roulette.enabled |
true |
在主页显示轮盘赌,并允许服务器打开和处理游戏。 |
roulette.leftTableBet |
1 |
普通左侧轮盘桌使用的赌注金额。 |
roulette.rightTableBet |
3 |
普通右侧轮盘桌使用的赌注金额。 |
roulette.serviceDayBet |
6 |
每第七个 Minecraft 日,右侧轮盘桌使用的赌注金额。 |
recipes.arcadeCoinCrafting |
true |
启用两种迷你游戏币的合成配方(单个合成以及从 relic coin pouch 合成)。设为 false 以禁用它们。需要重启服务器或单人世界。 |
recipes.arcadeMachineCrafting |
true |
启用迷你游戏机的合成配方。 |
recipes.<tier>GachaMachineCrafting |
true |
启用基础、高级、超极或大师级扭蛋机的合成配方。 |
recipes.<game>MachineCrafting |
true |
启用专用机柜或商店机的合成配方:snake、flappyBird、blockStacker、blackjack、derby、voltorbFlip、slot、roulette 和 shop。 |
recipes.<table>PinballMachineCrafting |
true |
启用弹球台的合成配方:meowth、diglett、seel 和 gengar。 |
每个游戏的 enabled 设置控制着从主页、其专用机柜以及通过命令访问该游戏的权限。合成设置仅控制合成:现有的机器和命令将继续正常工作。
所有 coinToPlay 设置均接受 0。零成本使该游戏免费游玩,但不改变其奖励:老虎机和方块堆叠仍会发放其正常的固定奖品,贪吃蛇和 Flappy Bird 仍支付 score * multiplier,雷丘翻牌仍支付累积的棋盘 winnings,弹球仍支付其桌子奖品。更改 coinToPlay 绝不会缩放任何奖励。
扭蛋设置
每台机器都在 gacha.basic、gacha.great、gacha.ultra 或 gacha.master 下使用相同的设置。
| 键 |
允许的值 |
描述 |
gacha.<machine>.enabled |
true / false |
允许开启该机器方块。 |
gacha.<machine>.usePokemonList |
true / false |
使用机器的自定义宝可梦列表,而不是根据稀有度设置构建奖池。默认为 false。 |
gacha.<machine>.useItemList |
true / false |
从机器的自定义物品列表中发放物品,而不是宝可梦。默认为 false。usePokemonList 和 useItemList 中只能有一个为 true:如果两者都为真,将记录警告日志,且在一方设置为 false 之前无法使用该机器。 |
gacha.<machine>.minWager |
0 到 9999 |
可选的最小赌注,也是新物种加成按其自然出现权重概率生效的起始点。如果使用物品列表,物品在此赌注下遵循其配置的权重。 |
gacha.<machine>.maxWager |
minWager 到 9999 |
可选的最大赌注,也是渐进式新物种加成达到最大值的点。如果使用物品列表,在此赌注下所选稀有度的每种物品出现的概率均等。对于所有物品共享单一稀有度权重的物品列表则被忽略,此类列表固定为 minWager。 |
gacha.<machine>.shinyChancePercent |
0 到 100 |
awarded 宝可梦为闪光的独立百分比概率。 |
gacha.<machine>.aspectChancePercent |
0 到 100 |
为 awarded 物种选择符合条件的非标准形态的独立百分比概率。 |
gacha.<machine>.rarities.<rarity> |
0 或更大 |
该稀有度的相对选择权重。激活的稀有度权重会被归一化为概率。 |
接受的稀有度键集由机器等级固定:
| 机器 |
默认最小值 |
默认稀有度权重 |
basic |
50 |
common: 100 |
great |
250 |
common: 70, uncommon: 30 |
ultra |
1000 |
common: 45, uncommon: 35, rare: 20 |
master |
4500 |
common: 35, uncommon: 30, rare: 25, ultra-rare: 10 |
将稀有度权重设置为 0 会禁用该机器的该稀有度。至少必须有一种可用稀有度的权重为正数;否则,将恢复该机器的默认权重。添加不属于机器等级的稀有度键不会扩展其奖池。
扭蛋赌注与 coinToPlay 不同:所选金额会改变获得玩家未拥有物种(或使用物品列表时获得低权重物品)的渐进概率,但绝不会改变稀有度、闪光或形态的概率。minWager 为 0 允许以最小赌注免费抽取。
扭蛋自定义宝可梦和物品列表
模组会为每个机器创建一个自定义列表文件:
config/cobblemonminigames/gacha/basic.yml
config/cobblemonminigames/gacha/great.yml
config/cobblemonminigames/gacha/ultra.yml
config/cobblemonminigames/gacha/master.yml
自定义宝可梦列表
每个文件默认包含一个空的 pokemons 列表。将每个宝可梦作为具有 id 和 weight 的对象添加:
pokemons:
- id: pikachu
weight: 10.0
- id: eevee
weight: 5.0
- id: cobblemon:bulbasaur
weight: 1.0
在 config.yml 中将该机器的 usePokemonList 值设置为 true 以启用列表。较高的权重会使条目相对于其他符合条件的条目更有可能被选中。例如,权重 10.0 和 1.0 会产生基础概率 10/11 和 1/11。新物种加成仍然会在应用相对权重之前将新物种和已拥有物种分开。自定义列表可以包含超出机器正常稀有度的物种。
每个权重必须大于 0 且为有限值。无效条目或物种将被跳过并记录日志。如果列表中没有有效物种,机器将显示空奖池消息且不消耗街机币。
自定义物品列表
相同的文件还包含一个默认的 items 列表。将每个物品作为具有 id、rarity、quantity 和可选 weight 的对象添加:
items:
- id: minecraft:iron_ingot
rarity: common
quantity: 8
weight: 10.0
- id: minecraft:diamond
rarity: common
quantity: 1
weight: 0.1
- id: cobblemon:rare_candy
rarity: uncommon
quantity: 1
在 config.yml 中将该机器的 useItemList 值设置为 true 以启用列表。每次抽取首先使用机器的 rarities 权重选择一个稀有度,然后按 weight 从该稀有度的物品中选择一个,并发放其完整的 quantity。无法放入背包的物品将掉落在玩家脚下。
与宝可梦的新物种加成类似,赌注永远不会改变稀有度概率;它改变的是所选稀有度中发放哪个物品。在 minWager 下,物品遵循其权重,因此在上述示例中,钻石的可能性是铁锭的 100 分之一。提高赌注会逐步平衡这些概率,使低权重物品更有可能出现,直到在 maxWager 下所选项的所有物品概率均等。如果某稀有度的所有物品共享相同的权重,则赌注不会改变该稀有度的结果。当机器使用的每种稀有度都满足此条件时(例如当没有物品设置 weight 时),赌注将固定在 minWager 且无法提高,因此玩家永远不会为相同的概率支付更多费用。设置不同的权重可恢复完整的 minWager–maxWager 范围。
rarity 必须是 common、uncommon、rare 或 ultra-rare,且必须是机器等级的稀有度之一。例如,basic.yml 中的 rare 物品将被跳过。
quantity 必须至少为 1,省略时默认为 1。超过 64 的值将缩减为 64。
weight 必须大于 0 且为有限值,省略时默认为 1.0。较低的权重会使物品更稀有。
- 无效条目、未知的物品 ID 以及机器未使用的稀有度将被跳过并记录日志。
如果列表中没有可用的物品,机器将显示无物品消息且不消耗街机币。
商店
商店配置位于 config/cobblemonminigames/shop/ 目录下。该目录中的每个 .yml 或 .yaml 文件都是一个独立的目录。当存在 catalog-id 和 requires-mods 时,其文件名仅用于组织管理。旧版文件可能会省略这些字段并回退到基于文件名的行为。
每个商店文件包含分类(categories),每个分类包含子分类(subcategories),每个子分类包含可购买的奖励。物品奖励使用 type: item;宝可梦奖励使用 type: pokemon。
任何目录、分类、子分类或奖励都可以通过设置 enabled: false 来关闭,而无需将其删除。例如,要保留商店但移除其宝可梦分类:
- id: pokemon
enabled: false
默认目录仅在首次创建此文件夹时复制,因此你删除的目录不会再次被复制。若要恢复默认值,请删除整个 shop 文件夹并重启游戏。
示例:
catalog-id: cobblemon_shop
requires-mods:
- cobblemon
categories:
- id: supplies
name: Supplies
icon: minecraft:chest
subcategories:
- name: Pokeballs
items:
- type: item
id: cobblemon:poke_ball
quantity: 1
price: 10
- name: Starters
items:
- type: pokemon
id: cobblemon:bulbasaur
level: 5
shiny: false
aspect: ""
rarity: uncommon
price: 300
商店目录字段
| 键 |
必需 |
描述 |
catalog-id |
推荐 |
唯一的目录标识符。它作为前缀添加到每个分类 ID 中,生成如 cobblemon_shop:supplies 这样的 ID。如果省略,则使用不带 .yml 或 .yaml 后缀的文件名。 |
requires-mods |
推荐 |
整个目录所需的模组 ID 或模组 ID 列表。如果列出的任何模组缺失,该文件将被跳过。空列表表示目录无条件启用。如果省略,旧版行为会将文件名视为必需的模组 ID,cobblemon.yml 除外。 |
enabled |
否 |
false 会跳过整个目录。默认为 true。 |
categories |
是 |
包含在目录中的分类对象列表。 |
categories[].id |
是 |
在其 catalog-id 内唯一的分类 ID。 |
categories[].enabled |
否 |
false 会隐藏该分类。默认为 true。 |
categories[].name |
否 |
可见的分类名称。默认为其 id。 |
categories[].icon |
是 |
分类标签页使用的已注册物品 ID。无效图标会导致该分类被跳过。 |
categories[].subcategories |
是 |
子分类对象列表。 |
subcategories[].name |
是 |
可见的子分类名称。 |
subcategories[].enabled |
否 |
false 会隐藏该子分类。默认为 true。 |
subcategories[].items |
是 |
物品或宝可梦奖励列表。 |
requires-mods 接受多个依赖项:
catalog-id: crossover_shop
requires-mods:
- cobblemon
- another_mod
一个目录可以包含来自多个命名空间的已注册物品 ID。catalog-id 是单数形式,因为它标识的是目录本身;它并不限制其奖励所使用的命名空间。
商店奖励字段
| 键 |
物品 |
宝可梦 |
描述 |
type |
✔️ |
✔️ |
必须是 item 或 pokemon。 |
enabled |
✔️ |
✔️ |
false 会隐藏此奖励。默认为 true。 |
id |
✔️ |
✔️ |
已注册的命名空间物品 ID 或 Cobblemon 物种 ID。未知的条目会被跳过。 |
price |
✔️ |
✔️ |
街机币价格,范围从 1 到 999999999999。超过最大值的条目将记录为错误并被跳过。 |
rarity |
✔️ |
✔️ |
common(普通)、uncommon(稀有)、rare(珍贵)或 ultra-rare(超珍)。默认为 common,并控制购买通知样式。 |
quantity |
✔️ |
— |
物品数量。默认为 1,且至少钳制为 1。 |
level |
— |
✔️ |
宝可梦等级,范围从 1 到 100。默认为 5。 |
shiny |
— |
✔️ |
宝可梦是否为闪光。默认为 false。 |
aspect |
— |
✔️ |
通过 forcedAspects 应用的 Cobblemon 外观/形态。默认为无强制外观。 |
重新加载配置
/cobblemonminigames reload
游戏数值(包括游戏 enabled 标志、弹珠台时间和价格、速度设置、扭蛋机设置、手动宝可梦和物品列表以及商店目录)均可通过 /cobblemonminigames reload 命令重新加载。禁用的 Home 游戏将被隐藏,其服务器动作数据包将被忽略。禁用的扭蛋机保持放置状态但无法打开。进行中的或暂停的弹珠台回合将保留其时间限制;下一回合将使用新的时间限制。配方设置在服务器或单人世界启动时读取,因此配方的启用/禁用更改需要完全重启。
客户端设置
客户端设置位于 config/cobblemonminigames/client.yml,在游戏首次启动时生成:
volume: 1.0
channel: master
| 键 |
允许的值 |
描述 |
volume |
0.0 到 1.0 |
模组播放的所有声音都将乘以该音量,这样可以在不降低 Minecraft 音量的情况下调低街机音效。使用 0.0 可以静音模组。 |
channel |
master, music, record, block, hostile, neutral, player, ambient, voice, weather |
模组音效响应哪个 Minecraft 音量滑块。默认为 master。背景音乐始终使用 music。 |
这些是玩家专属的设置,并叠加在 Minecraft 自身的音量滑块之上。将 channel 指向除 master 之外的滑块,可以为模组提供独立的游戏内音量控制:例如 channel: record 将街机音效映射到留声机/音符盒滑块,从而可以在不影响其他内容的情况下降低音量。请注意,如果玩家已将某个滑块设置为零,则会静音模组。
/cobblemonminigames reloadclient 可在不重启游戏的情况下重新读取此文件。
客户端按键绑定
客户端按键绑定位于 config/cobblemonminigames/keybinds.yml。该文件通过列出所有操作(每行一个键值条目)生成,如下所示:
/cobblemonminigames reloadkeybind 无需重启游戏即可从文件中重新加载按键绑定。
pinball:
start:
- KEY_SPACE
- KEY_ENTER
left_flipper:
- KEY_A
- KEY_Z
right_flipper:
- KEY_D
- KEY_X
quit:
- KEY_ESCAPE
roulette:
confirm:
- KEY_SPACE
- KEY_ENTER
- KEY_A
quit:
- KEY_ESCAPE
up:
- KEY_UP
down:
- KEY_DOWN
left:
- KEY_LEFT
right:
- KEY_RIGHT
bet_up:
- KEY_KP_ADD
- KEY_EQUAL
bet_down:
- KEY_KP_SUBTRACT
- KEY_MINUS
编辑时,一个操作可以绑定多个键(如上述列表形式),也可以写成内联的单个键,例如 up: KEY_W。请使用熟悉的键名,如 KEY_W、KEY_SPACE、KEY_ENTER 或 KEY_F1。为方便起见,KEY_W、GLFW_KEY_W 和 W 均解析为同一个键。
| 键类型 |
值示例 |
描述 |
| 可打印键 |
KEY_A, KEY_1, KEY_SPACE, KEY_MINUS, KEY_EQUAL |
普通键盘按键。 |
| 功能键 |
KEY_F1 至 KEY_F25 |
功能键。 |
| 导航键 |
KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_HOME, KEY_END |
移动和导航键。 |
| 编辑键 |
KEY_ENTER, KEY_TAB, KEY_BACKSPACE, KEY_DELETE, KEY_INSERT |
常见的菜单/编辑键。 |
| 小键盘键 |
KEY_KP_0 至 KEY_KP_9, KEY_KP_ADD, KEY_KP_SUBTRACT |
数字小键盘按键。 |
| 修饰键 |
KEY_LEFT_SHIFT, KEY_RIGHT_CONTROL, KEY_LEFT_ALT |
修饰键,如果服务器包希望将其作为直接操作使用。 |
按键绑定操作
| 按键 |
值 |
说明 |
pinball.start |
KEY_SPACE, KEY_ENTER |
支付入场费并从开始界面发射弹球。点击弹球场也有相同效果。 |
pinball.left_flipper |
KEY_A, KEY_Z |
左侧挡板。 |
pinball.right_flipper |
KEY_D, KEY_X |
右侧挡板。 |
pinball.quit |
KEY_ESCAPE |
关闭牌桌。当前回合将被暂停,重新打开时继续。 |
roulette.confirm |
KEY_SPACE, KEY_ENTER, KEY_A |
确认牌桌、下注或在结果出来后继续。 |
roulette.quit |
KEY_ESCAPE |
离开轮盘界面。进行中的回合会被保留。 |
roulette.up |
KEY_UP |
向上移动轮盘选择项。 |
roulette.down |
KEY_DOWN |
向下移动轮盘选择项。 |
roulette.left |
KEY_LEFT |
向左移动轮盘选择项。 |
roulette.right |
KEY_RIGHT |
向右移动轮盘选择项。 |
roulette.bet_up |
KEY_KP_ADD, KEY_EQUAL |
在进入牌桌前,移动到下一个可用的轮盘赌注。 |
roulette.bet_down |
KEY_KP_SUBTRACT, KEY_MINUS |
在进入牌桌前,移动到上一个可用的轮盘赌注。 |
slotmachine.primary |
KEY_A, KEY_SPACE, KEY_ENTER |
启动转轮、停止当前转轮或重复一次赢钱的下注。 |
slotmachine.bet |
KEY_DOWN |
投入一枚硬币。 |
slotmachine.max_bet |
KEY_UP |
最多投入三枚硬币,并在达到最大赌注时自动开始。 |
slotmachine.info |
KEY_I |
打开或关闭老虎机信息界面。 |
slotmachine.quit |
KEY_ESCAPE |
离开老虎机,或在信息/Reel Time 覆盖层激活时关闭它。 |
flappybird.flap |
KEY_SPACE, KEY_A, KEY_UP, KEY_ENTER |
从准备/游戏结束状态开始,或在游玩过程中拍动翅膀。 |
flappybird.quit |
KEY_ESCAPE |
离开 Flappy Bird 界面。 |
blockstacker.primary |
KEY_SPACE, KEY_ENTER, KEY_A |
开始游戏、放下方块,或在“继续”提示中确认。 |
blockstacker.left |
KEY_LEFT |
在“继续”提示中选择“是”。 |
blockstacker.right |
KEY_RIGHT |
在“继续”提示中选择“否”。 |
blockstacker.back |
KEY_B |
在“继续”提示中兑现奖金,或从常规状态退出。 |
blockstacker.quit |
KEY_ESCAPE |
离开 Block Stacker 界面。 |
snake.start |
KEY_SPACE, KEY_ENTER, KEY_A |
从准备/游戏结束状态开始一场贪吃蛇游戏。 |
snake.quit |
KEY_ESCAPE |
离开 Snake 界面。 |
snake.up |
KEY_UP |
向上转弯。 |
snake.down |
KEY_DOWN |
向下转弯。 |
snake.left |
KEY_LEFT |
向左转弯。 |
snake.right |
KEY_RIGHT |
向右转弯。 |
derby.confirm |
KEY_SPACE, KEY_ENTER, KEY_A |
选择赛车手、开始比赛或在结果出来后继续。 |
derby.back |
KEY_B, KEY_BACKSPACE |
从下注返回到赛车手选择,或从赛车手选择中退出。 |
derby.quit |
KEY_ESCAPE |
离开 Derby。 |
derby.up |
KEY_UP |
增加 10 枚硬币的 Derby 赌注。 |
derby.down |
KEY_DOWN |
减少 10 枚硬币的 Derby 赌注。 |
derby.left |
KEY_LEFT |
上一位赛车手。 |
derby.right |
KEY_RIGHT |
下一位赛车手。 |
voltorbflip.confirm |
KEY_SPACE, KEY_ENTER, KEY_A |
开始一局游戏、揭示或标记选定的卡片,或在完成棋盘后继续。 |
voltorbflip.back |
KEY_B, KEY_BACKSPACE |
游玩时切换笔记模式,在完成棋盘后兑现奖金,或从准备界面退出。 |
voltorbflip.quit |
KEY_ESCAPE |
离开 Voltorb Flip。进行中的棋盘会被保留。 |
voltorbflip.up |
KEY_UP |
向上移动光标。 |
voltorbflip.down |
KEY_DOWN |
向下移动光标。 |
voltorbflip.left |
KEY_LEFT |
向左移动光标。 |
voltorbflip.right |
KEY_RIGHT |
向右移动光标。 |
voltorbflip.note_prev |
KEY_Q, KEY_LEFT_BRACKET |
选择上一个笔记值。 |
voltorbflip.note_next |
KEY_E, KEY_RIGHT_BRACKET |
选择下一个笔记值。 |
blackjack.confirm |
KEY_A, KEY_SPACE, KEY_ENTER |
确认所选选项。 |
blackjack.quit |
KEY_B, KEY_ESCAPE |
离开 Blackjack。进行中的下注会被保留。 |
blackjack.up |
KEY_UP |
移动到上一个选项。 |
blackjack.down |
KEY_DOWN |
移动到下一个选项。 |
gacha.confirm |
KEY_SPACE, KEY_ENTER, KEY_KP_ENTER, KEY_A |
从准备状态抽取机器。也可以点击抽取区域。 |
gacha.quit |
KEY_ESCAPE |
离开机器。进行中的揭示过程将被暂停,当再次打开 Gacha 机器时恢复;从已完成的结果界面将返回主 Gacha 屏幕。 |
gacha.up |
KEY_UP |
增加当前选定的赌注数字。 |
gacha.down |
KEY_DOWN |
减少当前选定的赌注数字。 |
gacha.left |
KEY_LEFT |
选择左边的赌注数字。 |
gacha.right |
KEY_RIGHT |
选择右边的赌注数字。 |
命令与服务器说明
-
/cobblemonminigames reload 需要权限等级 2,用于重新加载游戏和商店的服务器配置。recipes 下的配方制作切换需要重启服务器或单人世界。
-
/cobblemonminigames givecoins <数量> <玩家> 需要权限等级 2,用于向在线玩家发放街机币。优先填充硬币盒,然后再填满背包中的物品堆。如果剩余数量无法完整放入,则操作将被取消,不会发放任何硬币,同时会通知该玩家和服务器的日志。
-
/cobblemonminigames <screen> [targets] 需要权限等级 2,并为指定玩家打开对应界面;若省略 targets 则对执行命令的玩家生效。可用界面包括:home、shop、roulette、slotmachine、blockstacker、snake、flappybird、derby、voltorbflip、blackjack、gacha <basic|great|ultra|master>,以及弹珠台游戏 pinballmeowth、pinballdiglett、pinballseel、pinballgengar(也可使用别名 pinball <meowth|diglett|seel|gengar>)。此功能允许服务器管理员将游戏接入自定义方块、NPC 或命令方块(例如 /cobblemonminigames snake @p 或 /cobblemonminigames pinballgengar @p)。已禁用的游戏和不可用的扭蛋机不会打开。
-
游戏奖励发放为街机币(Arcade Coins)。商店内容与价格通过商店 YAML 文件进行控制。
-
每个硬币箱(Coin Case)最多可存储 999999999 个街机币。若玩家拥有多个硬币箱,奖励会按物品栏顺序依次填充,然后再使用物理物品栏中的堆叠物品。
-
商店价格、硬币箱总额以及游戏平衡面板均使用紧凑表示法。
-
默认情况下,扭蛋池仅从 Cobblemon 已加载的世界生成池中重建。对于配置了 usePokemonList: true 的设备,手动宝可梦列表将替代此行为;对于配置了 useItemList: true 的设备,手动物品列表将替代此行为。
-
如果玩家断开连接,暂停中的弹球局将被判定为失败。
整合包
欢迎将 Cobblemon MiniGames 收录到任何整合包中,无需事先征得许可。
致谢
Turn your Cobblemon world into a place players want to visit between adventures.
Cobblemon MiniGames adds a fully playable arcade: eight coin-paying minigames, four Pinball tables, four Gacha machines, Arcade Coins, a Coin Case and a reward shop. Win coins at Roulette, Slot Machine, Flappy Bird, Block Stacker, Snake, Derby, Voltorb Flip, Blackjack and Pinball, then spend them on configurable rewards or on Pokemon from the Gacha machines.
Features
- Arcade games inspired by the Pokemon Emerald Game Corner, each with its own themed look.
- Pinball: four tables (Meowth, Diglett, Seel and Gengar), each with its own goal and prize.
- Machines: play everything from the MiniGames Machine, place a dedicated cabinet for each game, or open the reward shop from the Shop Machine. Their screens play an animated demo.
- Gacha: four machines that give out Pokemon (or items you choose) by rarity.
- Arcade Coins, a Coin Case and a reward shop.
- Easy to set up on servers: games, prices, prizes and recipes can all be adjusted.
Minigames
Roulette
Roulette is inspired by the Pokemon Emerald roulette table. When the player enters, they pick a table first: the red left table uses the normal low wager, the green right table uses a higher wager, and every seventh Minecraft day the right table becomes the service-day table with its own configured wager.
After choosing a table, the player bets on a Pokemon column, a color row, or an exact square. A spin consumes the table wager and drops one ball onto the wheel. Winning pays wager * multiplier, and the round keeps the landed balls until six balls have been placed or no valid squares remain. If the player leaves mid-round and comes back later, the active roulette round is resumed.
Payouts are based on the selected area:
- Column bets pay x6, x4, or x3 depending on how many balls in that column are already occupied.
- Row bets pay x4 or x3 depending on how many balls in that row are already occupied.
- Exact square bets pay x12 if the ball lands on that square.
- When the board is cleared, the next entry returns to table selection.
Slot Machine
Slot Machine is inspired by the Pokemon Emerald slot machine. The player inserts one to three bet units, each costing the configured slotmachine.coinToPlay, starts the reels, then stops each reel with the action button. One unit activates the middle line, two units activate top, middle, and bottom, and three units activate all five lines including the diagonals.
Bet Max inserts up to three bet units and starts the spin when all three have been accepted. Replay and power matches count as wins for the machine flow, but replay pays zero coins and power builds Pika Power. Pika Power can trigger Reel Time, which gives a short special sequence and may grant slower bonus spins.
Current symbol payouts:
- Cherry pays 2 coins on the middle line, or 4 coins on top/bottom cherry lines.
- Lotad pays 6 coins.
- Azurill pays 12 coins.
- Power pays 3 coins and adds Pika Power.
- Mixed 7 pays 90 coins.
- Red 7 pays 300 coins.
- Blue 7 pays 300 coins and marks the next Reel Time as lucky.
- Replay counts as a match but pays no coins.
Flappy Bird
Flappy Bird spends the configured entry cost, then starts a countdown. The player flaps Butterfree through the obstacle gaps. Each cleared obstacle gives one point and increases the speed by the configured step, starting at the configured base speed and capped at the configured max speed. On crash, the run pays score * multiplier Arcade Coins.
Block Stacker
Block Stacker spends the configured entry cost, then asks the player to stop moving blocks row by row. Missing every block ends the run. By default, reaching row 6 offers a 50-coin cash-out, row 7 offers 250 coins, and row 8 pays the 1000-coin top prize. The prize amounts, shown next to their rows, and the movement speed of those rows can be tuned in the config. At each cash-out prompt, the player can take the current reward or keep going.
Snake
Snake spends the configured entry cost, then lets the player guide Onix around the field. Every berry adds one point and grows the snake. Hitting a wall or the snake body ends the run and pays score * multiplier Arcade Coins.
Derby
Derby generates six racers, then lets the player choose one and place a bet in 10-coin steps. The maximum bet is the amount of Arcade Coins the player currently has, rounded down by the 10-coin step. A selected racer must finish first to win. Payout depends on the racer odds shown on the bet slip.
The bet slip can show these odds:
- Payout 1: x1.1, so a 10-coin bet returns 11.
- Payout 2: x1.2, so a 10-coin bet returns 12.
- Payout 3: x1.3, so a 10-coin bet returns 13.
- Payout 4: x1.5, so a 10-coin bet returns 15.
- Payout 5: x2, so a 10-coin bet returns 20.
- Payout 6: x3, so a 10-coin bet returns 30.
Voltorb Flip
Voltorb Flip is a risk-and-reward puzzle inspired by Voltorb Flip Rogue. Starting a run spends the configured entry cost, then shows a 5x5 board of hidden cards. Each card is either a Voltorb, a 1, a 2, or a 3. The clues on the right and bottom edges show the total card value and the number of Voltorb cards in each row or column.
The goal is to reveal every 2 and 3 card without revealing a Voltorb. Revealing a 1 is safe, but it does not increase the payout. Revealing a 2 or 3 multiplies the current board value. Players can switch between reveal mode and note mode, then mark hidden cards with notes for 1, 2, 3, or Voltorb while solving the board.
Completing a board adds that board's value to the run bank and offers a choice: cash out or continue to the next level. Higher levels have larger possible payouts, but also more Voltorbs. If the player cashes out, the banked Arcade Coins are paid to the player. If the player reveals a Voltorb, the run bank is lost and the payout is 0.
Unlike the original Game Corner game, this version lets players leave during an active board. The board state is preserved, so they can come back later and continue the same run. Leaving does not pay out the current bank; the player must cash out from a completed-board prompt to receive the stored winnings.
Blackjack
Blackjack lets the player place bets in steps of 10 Arcade Coins and play against the dealer. The goal is to reach 21, or get closer to 21 than the dealer, without going over. A panel next to the table shows the minimum bet, your current bet and whose turn it is.
During the player's turn they can draw another card or stand. The dealer draws until reaching at least 17.
Insurance appears when the dealer's visible card is an Ace and the player has enough Arcade Coins. It costs half of the current bet. If the dealer has Blackjack, the insurance returns the value of the original bet; otherwise, the insurance is lost and the hand continues normally.
Double appears when the player's first two cards have a total of 9, 10, or 11 and the player has enough Arcade Coins to match the current bet. Choosing it doubles the bet, deals exactly one more card, and ends the player's turn.
A normal win returns twice the bet, a Blackjack returns two and a half times the bet, and a tie returns the original bet. Losing or going over 21 pays nothing. If the player leaves after placing a bet, the game is saved and can be continued later.
Pinball
Four Pinball tables based on the pinball of the Pokemon Emerald GameCorner Expansion. Each table has its own machine, and all four can also be played from the MiniGames Machine.
Press Enter, Space, or click the table to start and launch the ball. Use A/Z for the left flipper and D/X for the right one. The round ends when time runs out, when you clear the table, or when you lose Diglett's only ball, and then you get your prize.
If you close the table in the middle of a round, it is paused and you can finish it later without paying again.
| Table |
Objective |
Default time |
Prize |
| Meowth |
Hit Meowth to make him drop jewels, then collect them. Consecutive jewels are worth more. Reach 20 points. |
60 s |
3 coins per point |
| Diglett |
One ball: hit all 31 Diglett, then Dugtrio three times. |
120 s |
3 per Diglett, 100 for clearing the Diglett, 150 for defeating Dugtrio |
| Seel |
Hit Seel when it surfaces. Consecutive hits are worth more. Reach 20 points. |
90 s |
4 coins per point |
| Gengar |
Hit Gastly 10 times, Haunter 10 times, then Gengar 5 times. |
90 s |
3 per Gastly plus 7 per Haunter, 250 for completing the table |
On Meowth and Seel, losing the ball costs four points and a new ball is launched. Meowth's jewels don't last forever: they blink before disappearing.
Gacha
Gacha is opened directly from one of four dedicated machine blocks instead of from the arcade Home screen. The Basic, Great, Ultra, and Master machines each use a progressively wider set of rarities:
- Basic (pink) contains
common Pokemon.
- Great (blue) contains
common and uncommon Pokemon.
- Ultra (yellow) contains
common, uncommon, and rare Pokemon.
- Master (purple) contains all four rarities, including
ultra-rare.
By default, the available Pokemon are generated exclusively from the Cobblemon world spawn pool. Server owners can configure any machine to use a manual species list instead, or to hand out configured items instead of Pokemon.
Each player receives a personalized pool based on the species currently registered in their party and PC. Increasing the wager does not change the machine's rarity probabilities, shiny chance, or aspect chance. Instead, it progressively increases the chance that the selected Pokemon is a species the player does not already own. At the maximum wager, a selected rarity guarantees a new species when that rarity still contains at least one missing Pokemon.
The result may independently be shiny or use an eligible non-standard form. Mega, Gigantamax, and Dynamax forms are excluded from random aspect selection. The Pokemon is only delivered after its reveal animation finishes.
Machines
MiniGames Machine and dedicated cabinets
The MiniGames Machine opens the Home screen, where the player picks any enabled game, including the four Pinball tables.
Each game also has its own dedicated cabinet that opens that game directly. Every cabinet has themed side art featuring the game's Pokemon:
| Machine |
Game |
Pokemon |
| Snake Machine |
Snake |
Onix |
| Flappy Bird Machine |
Flappy Bird |
Butterfree |
| Block Stacker Machine |
Block Stacker |
Rhydon |
| Blackjack Machine |
Blackjack |
Sableye |
| Derby Machine |
Derby |
Ponyta |
| Voltorb Flip Machine |
Voltorb Flip |
Voltorb |
| Slot Machine |
Slot Machine |
Pikachu |
| Roulette Machine |
Roulette |
Wynaut |
The screens of the MiniGames Machine and of the cabinets play a short animated demo of their game. On NeoForge they glow in the dark.
Shop Machine
The Shop Machine is a white kiosk with a striped awning and a SHOP sign. Right-click it to open the reward shop directly.
Pinball tables
Pinball Meowth, Pinball Diglett, Pinball Seel and Pinball Gengar each have their own themed table and a marquee with animated lights. Right-click the machine to play.
Coin Case
The Coin Case stores virtual Arcade Coins in the item data. If the player has a Coin Case in their inventory, game payouts go into it first. Players can also use the Coin Case screen to deposit physical coins from the inventory or withdraw stored coins back into item stacks.
Important details:
- The shared coin cap is 99999999.
- Payouts are stored in the Coin Case first when one is present.
- Withdrawals only create as many physical coins as the inventory can hold.
Recipes
MiniGames Coin and Coin Case
MiniGames Coin Case
- 1 Cobblemon Relic Coin
- 4 Leather
MiniGames Coin
- 1 Cobblemon Relic Coin
- 4 Iron Nuggets
To craft nine at a time, use 1 Relic Coin Pouch and 4 Iron Ingots in the same shape (the same rate as nine single crafts).
MiniGames Machine
- 4 any Planks
- 2 Gold Ingots
- 2 Iron Ingots
- 1 Emerald
Shop Machine
- 4 any Planks
- 1 Glass
- 2 Iron Ingots
- 1 Redstone
- 1 White Dye
Dedicated cabinets
All eight cabinets use the same shape: 4 any Planks, 1 Glass, 2 Iron Ingots, 1 Redstone and 1 dye that picks the game.
| Dye |
Machine |
| Lime Dye |
Snake Machine |
| Light Blue Dye |
Flappy Bird Machine |
| Gray Dye |
Block Stacker Machine |
| Purple Dye |
Blackjack Machine |
| Orange Dye |
Derby Machine |
| Red Dye |
Voltorb Flip Machine |
| Yellow Dye |
Slot Machine |
| Cyan Dye |
Roulette Machine |
Pinball tables
All four tables use the same shape: 2 Glass, 4 Iron Ingots, 1 Redstone and 1 dye that picks the table.
| Dye |
Table |
| Yellow Dye |
Pinball Meowth |
| Brown Dye |
Pinball Diglett |
| Light Blue Dye |
Pinball Seel |
| Purple Dye |
Pinball Gengar |
Gacha machines
All four Gacha machines use the same recipe shape:
- 3 Glass
- 4 Iron Ingots
- 1 Redstone
- 1 tier dye
The tier dye determines the result:
- Pink Dye creates the Basic Gacha Machine.
- Blue Dye creates the Great Gacha Machine.
- Yellow Dye creates the Ultra Gacha Machine.
- Purple Dye creates the Master Gacha Machine.
Configuration
Server configuration (config.yml)
Server configuration lives in config/cobblemonminigames/config.yml.
Default config.yml:
pinball:
meowth:
enabled: true
time: 60
coinToPlay: 1
diglett:
enabled: true
time: 120
coinToPlay: 1
seel:
enabled: true
time: 90
coinToPlay: 1
gengar:
enabled: true
time: 90
coinToPlay: 1
snake:
enabled: true
coinToPlay: 1
multiplier: 2.0
flappybird:
enabled: true
coinToPlay: 1
multiplier: 2.0
speedBase: 2.0
speedStep: 0.05
speedMax: 7.0
slotmachine:
enabled: true
coinToPlay: 1
blockstacker:
enabled: true
coinToPlay: 1
row6Prize: 50
row7Prize: 250
row8Prize: 1000
row6SpeedFrames: 4
row7SpeedFrames: 3
row8SpeedFrames: 2
derby:
enabled: true
voltorbflip:
enabled: true
coinToPlay: 10
blackjack:
enabled: true
roulette:
enabled: true
leftTableBet: 1
rightTableBet: 3
serviceDayBet: 6
gacha:
basic:
enabled: true
usePokemonList: false
useItemList: false
minWager: 50
maxWager: 9999
shinyChancePercent: 0.01220703125
aspectChancePercent: 5.0
rarities:
common: 100.0
great:
enabled: true
usePokemonList: false
useItemList: false
minWager: 250
maxWager: 9999
shinyChancePercent: 0.01220703125
aspectChancePercent: 5.0
rarities:
common: 70.0
uncommon: 30.0
ultra:
enabled: true
usePokemonList: false
useItemList: false
minWager: 1000
maxWager: 9999
shinyChancePercent: 0.01220703125
aspectChancePercent: 5.0
rarities:
common: 45.0
uncommon: 35.0
rare: 20.0
master:
enabled: true
usePokemonList: false
useItemList: false
minWager: 4500
maxWager: 9999
shinyChancePercent: 0.01220703125
aspectChancePercent: 5.0
rarities:
common: 35.0
uncommon: 30.0
rare: 25.0
ultra-rare: 10.0
recipes:
arcadeCoinCrafting: true
arcadeMachineCrafting: true
basicGachaMachineCrafting: true
greatGachaMachineCrafting: true
ultraGachaMachineCrafting: true
masterGachaMachineCrafting: true
snakeMachineCrafting: true
flappyBirdMachineCrafting: true
blockStackerMachineCrafting: true
blackjackMachineCrafting: true
derbyMachineCrafting: true
voltorbFlipMachineCrafting: true
slotMachineCrafting: true
rouletteMachineCrafting: true
shopMachineCrafting: true
meowthPinballMachineCrafting: true
diglettPinballMachineCrafting: true
seelPinballMachineCrafting: true
gengarPinballMachineCrafting: true
Existing config.yml files receive newly introduced missing keys automatically without overwriting values already configured by the server owner.
When upgrading from a version without the individual Gacha recipe settings, each missing setting inherits the existing arcadeMachineCrafting value once. After that, every machine recipe can be configured independently.
| Key |
Value |
Description |
pinball.<table>.enabled |
true |
Shows that Pinball table on the Home screen and allows it to be played from its machine and by command. <table> is meowth, diglett, seel or gengar. |
pinball.<table>.time |
60 / 120 / 90 / 90 |
Round time in seconds for Meowth, Diglett, Seel and Gengar. Values are clamped from 1 to 86400. The next round uses the new time. |
pinball.<table>.coinToPlay |
1 |
Arcade Coins consumed when a round starts on that table. 0 makes it free. Values are clamped from 0 to 99999999. |
snake.enabled |
true |
Shows Snake on the Home screen and allows the server to open and process the game. |
snake.coinToPlay |
1 |
Arcade Coins consumed when a Snake run starts. |
snake.multiplier |
2.0 |
Multiplies the Snake score for its reward. Decimal results are rounded to the nearest integer. |
flappybird.enabled |
true |
Shows Flappy Bird on the Home screen and allows the server to open and process the game. |
flappybird.coinToPlay |
1 |
Arcade Coins consumed when a Flappy Bird run starts. |
flappybird.multiplier |
2.0 |
Multiplies the Flappy Bird score for its reward. Decimal results are rounded to the nearest integer. |
flappybird.speedBase |
2.0 |
Starting Flappy Bird speed multiplier. Values are clamped from 0.01 to 20.0. |
flappybird.speedStep |
0.05 |
Speed multiplier added for each cleared obstacle. Use 0 to keep a fixed speed. Values are clamped from 0 to 20.0. |
flappybird.speedMax |
7.0 |
Maximum Flappy Bird speed multiplier. Values are clamped from speedBase to 20.0. |
slotmachine.enabled |
true |
Shows Slot Machine on the Home screen and allows the server to open and process the game. |
slotmachine.coinToPlay |
1 |
Arcade Coins consumed for each Slot Machine bet unit. |
blockstacker.enabled |
true |
Shows Block Stacker on the Home screen and allows the server to open and process the game. |
blockstacker.coinToPlay |
1 |
Arcade Coins consumed when a Block Stacker run starts. |
blockstacker.row6Prize |
50 |
Arcade Coins offered as a cash-out when row 6 is cleared. Values are clamped from 1 to 99999999. |
blockstacker.row7Prize |
250 |
Arcade Coins offered as a cash-out when row 7 is cleared. Values are clamped from 1 to 99999999. |
blockstacker.row8Prize |
1000 |
Arcade Coins paid as the top prize when row 8 is cleared. Values are clamped from 1 to 99999999. |
blockstacker.row6SpeedFrames |
4 |
Movement delay on row 6, the first prize row. Lower values are faster. Values are clamped from 1 to 5. |
blockstacker.row7SpeedFrames |
3 |
Movement delay on row 7, the second prize row. Lower values are faster. Values are clamped from 1 to 5. |
blockstacker.row8SpeedFrames |
2 |
Movement delay on row 8, the top prize row. Lower values are faster. Values are clamped from 1 to 5. |
derby.enabled |
true |
Shows Derby on the Home screen and allows the server to open and process the game. |
voltorbflip.enabled |
true |
Shows Voltorb Flip on the Home screen and allows the server to open and process the game. |
voltorbflip.coinToPlay |
10 |
Arcade Coins consumed when a Voltorb Flip run starts. |
blackjack.enabled |
true |
Shows Blackjack on the Home screen and allows the server to open and process the game. |
roulette.enabled |
true |
Shows Roulette on the Home screen and allows the server to open and process the game. |
roulette.leftTableBet |
1 |
Wager used by the normal left roulette table. |
roulette.rightTableBet |
3 |
Wager used by the normal right roulette table. |
roulette.serviceDayBet |
6 |
Wager used by the right roulette table every seventh Minecraft day. |
recipes.arcadeCoinCrafting |
true |
Enables both MiniGames Coin crafting recipes (single and from a Relic Coin Pouch). Set to false to disable them. Requires restarting the server or singleplayer world. |
recipes.arcadeMachineCrafting |
true |
Enables the MiniGames Machine crafting recipe. |
recipes.<tier>GachaMachineCrafting |
true |
Enables the Basic, Great, Ultra or Master Gacha Machine crafting recipe. |
recipes.<game>MachineCrafting |
true |
Enables a dedicated cabinet or Shop Machine recipe: snake, flappyBird, blockStacker, blackjack, derby, voltorbFlip, slot, roulette and shop. |
recipes.<table>PinballMachineCrafting |
true |
Enables a Pinball table recipe: meowth, diglett, seel and gengar. |
The enabled setting of each game controls access from Home, from its dedicated cabinet and from commands. Recipe settings only control crafting: existing machines and commands keep working.
Every coinToPlay setting accepts 0. A zero cost makes that game free without changing its rewards: Slot Machine and Block Stacker still award their normal fixed prizes, Snake and Flappy Bird still pay score * multiplier, Voltorb Flip still pays the accumulated board winnings, and Pinball still pays its table prize. Changing coinToPlay never scales any reward.
Gacha settings
Each machine uses the same settings under gacha.basic, gacha.great, gacha.ultra, or gacha.master.
| Key |
Allowed values |
Description |
gacha.<machine>.enabled |
true / false |
Allows that machine block to be opened. |
gacha.<machine>.usePokemonList |
true / false |
Uses the machine's manual Pokemon list instead of building its pool from rarity settings. Defaults to false. |
gacha.<machine>.useItemList |
true / false |
Hands out items from the machine's manual item list instead of Pokemon. Defaults to false. Only one of usePokemonList and useItemList may be true: if both are, a warning is logged and the machine cannot be played until one is set to false. |
gacha.<machine>.minWager |
0 to 9999 |
Minimum selectable wager and the point where the new-species bonus begins at its natural spawn-weight chance. With an item list, items follow their configured weights at this wager. |
gacha.<machine>.maxWager |
minWager to 9999 |
Maximum selectable wager and the point where the progressive new-species bonus reaches its maximum. With an item list, every item of the chosen rarity is equally likely at this wager. Ignored for item lists whose items all share one weight per rarity, which are fixed at minWager. |
gacha.<machine>.shinyChancePercent |
0 to 100 |
Independent percentage chance for the awarded Pokemon to be shiny. |
gacha.<machine>.aspectChancePercent |
0 to 100 |
Independent percentage chance to select an eligible non-standard form for the awarded species. |
gacha.<machine>.rarities.<rarity> |
0 or greater |
Relative selection weight for that rarity. The active rarity weights are normalized into probabilities. |
The set of accepted rarity keys is fixed by the machine tier:
| Machine |
Default minimum |
Default rarity weights |
basic |
50 |
common: 100 |
great |
250 |
common: 70, uncommon: 30 |
ultra |
1000 |
common: 45, uncommon: 35, rare: 20 |
master |
4500 |
common: 35, uncommon: 30, rare: 25, ultra-rare: 10 |
Setting a rarity weight to 0 disables that rarity for the machine. At least one available rarity must have a positive weight; otherwise, that machine's default weights are restored. Adding a rarity key that does not belong to the machine tier does not expand its pool.
Gacha wagers are different from coinToPlay: the selected amount changes the progressive chance of receiving a species the player does not own (or, with an item list, of receiving a low-weight item), but never changes rarity, shiny, or aspect probabilities. A minWager of 0 allows free pulls at the minimum wager.
Gacha manual Pokemon and item lists
The mod creates one manual list file for each machine:
config/cobblemonminigames/gacha/basic.yml
config/cobblemonminigames/gacha/great.yml
config/cobblemonminigames/gacha/ultra.yml
config/cobblemonminigames/gacha/master.yml
Manual Pokemon lists
Each file contains an empty pokemons list by default. Add each Pokemon as an object with id and weight:
pokemons:
- id: pikachu
weight: 10.0
- id: eevee
weight: 5.0
- id: cobblemon:bulbasaur
weight: 1.0
Set that machine's usePokemonList value to true in config.yml to activate the list. Higher weights make an entry more likely relative to other eligible entries. For example, weights 10.0 and 1.0 produce base probabilities of 10/11 and 1/11. The new-species bonus still separates new and owned species before applying their relative weights. Manual lists can include species outside the machine's normal rarities.
Each weight must be greater than 0 and finite. Invalid entries or species are skipped and logged. If the list has no valid species, the machine displays an empty-pool message and consumes no Arcade Coins.
Manual item lists
The same files also contain an items list, empty by default. Add each item as an object with id, rarity, quantity, and an optional weight:
items:
- id: minecraft:iron_ingot
rarity: common
quantity: 8
weight: 10.0
- id: minecraft:diamond
rarity: common
quantity: 1
weight: 0.1
- id: cobblemon:rare_candy
rarity: uncommon
quantity: 1
Set that machine's useItemList value to true in config.yml to activate the list. Each pull first picks a rarity using the machine's rarities weights, then one of that rarity's items by weight, and gives its full quantity. Items that do not fit in the inventory are dropped at the player's feet.
Like the new-species bonus for Pokemon, the wager never changes the rarity probabilities; it changes which item of the chosen rarity is awarded. At minWager, items follow their weights, so in the example above the diamond is 100 times less likely than the iron. Raising the wager evens those odds out progressively, making low-weight items more likely, until at maxWager every item of the chosen rarity is equally likely. If all items of a rarity share the same weight, the wager does not change the result for that rarity. When that is true for every rarity the machine uses (for example when no item sets a weight), the wager is fixed at minWager and cannot be raised, so players never pay more for the same odds. Setting different weights restores the full minWager–maxWager range.
rarity must be common, uncommon, rare, or ultra-rare, and must be one of the machine tier's rarities. For example, a rare item in basic.yml is skipped.
quantity must be at least 1 and defaults to 1 when omitted. Values above 64 are reduced to 64.
weight must be greater than 0 and finite, and defaults to 1.0 when omitted. Lower weights make an item rarer.
- Invalid entries, unknown item ids, and rarities the machine does not use are skipped and logged.
If the list has no usable items, the machine displays a no-items message and consumes no Arcade Coins.
Shop
Shop configuration lives in config/cobblemonminigames/shop/. Every .yml or .yaml file in this directory is an independent catalog. When catalog-id and requires-mods are present, its filename is only for organization. Legacy files may omit them and fall back to filename-based behavior.
Every shop file contains categories, each category contains subcategories, and each subcategory contains purchasable rewards. Item rewards use type: item; Pokemon rewards use type: pokemon.
Any catalog, category, subcategory or reward can be switched off with enabled: false without deleting it. For example, to keep the shop but remove its Pokemon category:
- id: pokemon
enabled: false
The default catalogs are only copied when this folder is first created, so a catalog you delete is not copied back. To restore the defaults, delete the whole shop folder and restart.
Example:
catalog-id: cobblemon_shop
requires-mods:
- cobblemon
categories:
- id: supplies
name: Supplies
icon: minecraft:chest
subcategories:
- name: Pokeballs
items:
- type: item
id: cobblemon:poke_ball
quantity: 1
price: 10
- name: Starters
items:
- type: pokemon
id: cobblemon:bulbasaur
level: 5
shiny: false
aspect: ""
rarity: uncommon
price: 300
Shop Catalog Fields
| Key |
Required |
Description |
catalog-id |
Recommended |
Unique catalog identifier. It prefixes every category id, producing ids such as cobblemon_shop:supplies. If omitted, the filename without .yml or .yaml is used. |
requires-mods |
Recommended |
A mod id or list of mod ids required by the complete catalog. The file is skipped if any listed mod is missing. An empty list makes the catalog unconditional. If omitted, legacy behavior treats the filename as a required mod id, except for cobblemon.yml. |
enabled |
No |
false skips the whole catalog. Defaults to true. |
categories |
Yes |
List of category objects contained in the catalog. |
categories[].id |
Yes |
Category id unique within its catalog-id. |
categories[].enabled |
No |
false hides the category. Defaults to true. |
categories[].name |
No |
Visible category name. Defaults to its id. |
categories[].icon |
Yes |
Registered item id used by the category tab. An invalid icon causes the category to be skipped. |
categories[].subcategories |
Yes |
List of subcategory objects. |
subcategories[].name |
Yes |
Visible subcategory name. |
subcategories[].enabled |
No |
false hides the subcategory. Defaults to true. |
subcategories[].items |
Yes |
List of item or Pokemon rewards. |
requires-mods accepts more than one dependency:
catalog-id: crossover_shop
requires-mods:
- cobblemon
- another_mod
A catalog can contain registered item ids from several namespaces. catalog-id is singular because it identifies the catalog itself; it does not restrict the namespaces used by its rewards.
Shop Reward Fields
| Key |
Item |
Pokemon |
Description |
type |
✔️ |
✔️ |
Must be item or pokemon. |
enabled |
✔️ |
✔️ |
false hides this reward. Defaults to true. |
id |
✔️ |
✔️ |
Registered namespaced item id or Cobblemon species id. Unknown entries are skipped. |
price |
✔️ |
✔️ |
Arcade Coin price from 1 to 999999999999. Entries above the maximum are logged as errors and skipped. |
rarity |
✔️ |
✔️ |
common, uncommon, rare, or ultra-rare. Defaults to common and controls the purchase notification style. |
quantity |
✔️ |
— |
Item quantity. Defaults to 1 and is clamped to at least 1. |
level |
— |
✔️ |
Pokemon level from 1 to 100. Defaults to 5. |
shiny |
— |
✔️ |
Whether the Pokemon is shiny. Defaults to false. |
aspect |
— |
✔️ |
Cobblemon aspect/form applied through forcedAspects. Defaults to no forced aspect. |
Reloading configuration
/cobblemonminigames reload
Gameplay values, including game enabled flags, Pinball times and prices, speed settings, Gacha settings, manual Pokemon and item lists, and shop catalogs, are reloaded by /cobblemonminigames reload. Disabled Home games are hidden and their server action packets are ignored. A disabled Gacha machine remains placed but cannot be opened. An active or paused Pinball round keeps its time limit; the next round uses the new one. The recipe settings are read when the server or singleplayer world starts, so recipe enable/disable changes require a complete restart.
Client settings
Client settings live in config/cobblemonminigames/client.yml, generated the first time the game starts:
volume: 1.0
channel: master
| Key |
Allowed values |
Description |
volume |
0.0 to 1.0 |
Volume every sound the mod plays is multiplied by, so the arcade can be turned down without lowering Minecraft's volume. Use 0.0 to mute the mod. |
channel |
master, music, record, block, hostile, neutral, player, ambient, voice, weather |
Which of Minecraft's volume sliders the mod sound effects answer to. Defaults to master. Background music always uses music. |
These are per-player settings and apply on top of Minecraft's own volume sliders. Pointing channel at a slider other than master gives the mod its own in-game volume control: for example channel: record puts the arcade on the Jukebox/Note Blocks slider, which can then be lowered without affecting anything else. Beware that a slider the player has already set to zero silences the mod.
/cobblemonminigames reloadclient re-reads this file without restarting the game.
Client keybinds
Client keybinds live in config/cobblemonminigames/keybinds.yml. The file is generated with every action as a list of keys (one entry per line), like this:
/cobblemonminigames reloadkeybind reloads the keybinds from the file without restarting the game.
pinball:
start:
- KEY_SPACE
- KEY_ENTER
left_flipper:
- KEY_A
- KEY_Z
right_flipper:
- KEY_D
- KEY_X
quit:
- KEY_ESCAPE
roulette:
confirm:
- KEY_SPACE
- KEY_ENTER
- KEY_A
quit:
- KEY_ESCAPE
up:
- KEY_UP
down:
- KEY_DOWN
left:
- KEY_LEFT
right:
- KEY_RIGHT
bet_up:
- KEY_KP_ADD
- KEY_EQUAL
bet_down:
- KEY_KP_SUBTRACT
- KEY_MINUS
When editing, an action may keep several keys (a list, as above) or be a single key written inline, e.g. up: KEY_W. Use familiar key names such as KEY_W, KEY_SPACE, KEY_ENTER, or KEY_F1. For convenience, KEY_W, GLFW_KEY_W, and W all resolve to the same key.
| Key |
Value |
Description |
| Printable keys |
KEY_A, KEY_1, KEY_SPACE, KEY_MINUS, KEY_EQUAL |
Normal keyboard keys. |
| Function keys |
KEY_F1 to KEY_F25 |
Function keys. |
| Navigation keys |
KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT, KEY_HOME, KEY_END |
Movement and navigation keys. |
| Editing keys |
KEY_ENTER, KEY_TAB, KEY_BACKSPACE, KEY_DELETE, KEY_INSERT |
Common menu/editing keys. |
| Keypad keys |
KEY_KP_0 to KEY_KP_9, KEY_KP_ADD, KEY_KP_SUBTRACT |
Numeric keypad keys. |
| Modifier keys |
KEY_LEFT_SHIFT, KEY_RIGHT_CONTROL, KEY_LEFT_ALT |
Modifier keys if a server pack wants them as direct actions. |
Keybind Actions
| Key |
Value |
Description |
pinball.start |
KEY_SPACE, KEY_ENTER |
Pay the entry cost and launch the ball from the start screen. Clicking the playfield does the same. |
pinball.left_flipper |
KEY_A, KEY_Z |
Left flipper. |
pinball.right_flipper |
KEY_D, KEY_X |
Right flipper. |
pinball.quit |
KEY_ESCAPE |
Close the table. The round is paused and resumes when reopened. |
roulette.confirm |
KEY_SPACE, KEY_ENTER, KEY_A |
Confirm table, place bet, or continue after a result. |
roulette.quit |
KEY_ESCAPE |
Leave the roulette screen. Active rounds are preserved. |
roulette.up |
KEY_UP |
Move roulette selection up. |
roulette.down |
KEY_DOWN |
Move roulette selection down. |
roulette.left |
KEY_LEFT |
Move roulette selection left. |
roulette.right |
KEY_RIGHT |
Move roulette selection right. |
roulette.bet_up |
KEY_KP_ADD, KEY_EQUAL |
Move to the next available roulette table wager before entering the table. |
roulette.bet_down |
KEY_KP_SUBTRACT, KEY_MINUS |
Move to the previous available roulette table wager before entering the table. |
slotmachine.primary |
KEY_A, KEY_SPACE, KEY_ENTER |
Start reels, stop the current reel, or repeat a winning bet. |
slotmachine.bet |
KEY_DOWN |
Insert one coin. |
slotmachine.max_bet |
KEY_UP |
Insert up to three coins and start when max bet is reached. |
slotmachine.info |
KEY_I |
Open or close the slot info screen. |
slotmachine.quit |
KEY_ESCAPE |
Leave the slot machine, or close info/Reel Time when that overlay is active. |
flappybird.flap |
KEY_SPACE, KEY_A, KEY_UP, KEY_ENTER |
Start from ready/game-over states, or flap while playing. |
flappybird.quit |
KEY_ESCAPE |
Leave the Flappy Bird screen. |
blockstacker.primary |
KEY_SPACE, KEY_ENTER, KEY_A |
Start, drop blocks, or confirm the Keep Going prompt. |
blockstacker.left |
KEY_LEFT |
Select Yes at the Keep Going prompt. |
blockstacker.right |
KEY_RIGHT |
Select No at the Keep Going prompt. |
blockstacker.back |
KEY_B |
Cash out at the Keep Going prompt, or leave from regular states. |
blockstacker.quit |
KEY_ESCAPE |
Leave the Block Stacker screen. |
snake.start |
KEY_SPACE, KEY_ENTER, KEY_A |
Start a Snake run from ready/game-over states. |
snake.quit |
KEY_ESCAPE |
Leave the Snake screen. |
snake.up |
KEY_UP |
Turn up. |
snake.down |
KEY_DOWN |
Turn down. |
snake.left |
KEY_LEFT |
Turn left. |
snake.right |
KEY_RIGHT |
Turn right. |
derby.confirm |
KEY_SPACE, KEY_ENTER, KEY_A |
Pick racer, start race, or continue after a result. |
derby.back |
KEY_B, KEY_BACKSPACE |
Go back from betting to racer select, or leave from racer select. |
derby.quit |
KEY_ESCAPE |
Leave Derby. |
derby.up |
KEY_UP |
Increase Derby bet by 10 coins. |
derby.down |
KEY_DOWN |
Decrease Derby bet by 10 coins. |
derby.left |
KEY_LEFT |
Previous racer. |
derby.right |
KEY_RIGHT |
Next racer. |
voltorbflip.confirm |
KEY_SPACE, KEY_ENTER, KEY_A |
Start a run, reveal or mark the selected card, or continue after completing a board. |
voltorbflip.back |
KEY_B, KEY_BACKSPACE |
Toggle note mode while playing, cash out after completing a board, or leave from the ready screen. |
voltorbflip.quit |
KEY_ESCAPE |
Leave Voltorb Flip. Active boards are preserved. |
voltorbflip.up |
KEY_UP |
Move the cursor up. |
voltorbflip.down |
KEY_DOWN |
Move the cursor down. |
voltorbflip.left |
KEY_LEFT |
Move the cursor left. |
voltorbflip.right |
KEY_RIGHT |
Move the cursor right. |
voltorbflip.note_prev |
KEY_Q, KEY_LEFT_BRACKET |
Select the previous note value. |
voltorbflip.note_next |
KEY_E, KEY_RIGHT_BRACKET |
Select the next note value. |
blackjack.confirm |
KEY_A, KEY_SPACE, KEY_ENTER |
Confirm the selected option. |
blackjack.quit |
KEY_B, KEY_ESCAPE |
Leave Blackjack. Active bets are preserved. |
blackjack.up |
KEY_UP |
Move to the previous option. |
blackjack.down |
KEY_DOWN |
Move to the next option. |
gacha.confirm |
KEY_SPACE, KEY_ENTER, KEY_KP_ENTER, KEY_A |
Pull the machine from its ready state. The pull area can also be clicked. |
gacha.quit |
KEY_ESCAPE |
Leave the machine. An active reveal is paused and resumes when a Gacha machine is opened again; from the completed result it returns to the main Gacha screen. |
gacha.up |
KEY_UP |
Increase the currently selected wager digit. |
gacha.down |
KEY_DOWN |
Decrease the currently selected wager digit. |
gacha.left |
KEY_LEFT |
Select the wager digit to the left. |
gacha.right |
KEY_RIGHT |
Select the wager digit to the right. |
Commands and server notes
/cobblemonminigames reload requires permission level 2 and reloads gameplay and shop server configs. Recipe crafting toggles under recipes require restarting the server or singleplayer world.
/cobblemonminigames givecoins <quantity> <user> requires permission level 2 and gives Arcade Coins to an online player. Coin Cases are filled first, followed by inventory stacks. If the full amount does not fit, the operation is cancelled without delivering any coins and both the player and server log are notified.
/cobblemonminigames <screen> [targets] requires permission level 2 and opens a screen for the given players, or for the player running it when targets is omitted. Screens: home, shop, roulette, slotmachine, blockstacker, snake, flappybird, derby, voltorbflip, blackjack, gacha <basic|great|ultra|master>, and the Pinball tables pinballmeowth, pinballdiglett, pinballseel, pinballgengar (also available as pinball <meowth|diglett|seel|gengar>). This lets server owners wire games to custom blocks, NPCs, or command blocks (for example /cobblemonminigames snake @p or /cobblemonminigames pinballgengar @p). Disabled games and unavailable Gacha machines are not opened.
- Game payouts are Arcade Coins. Shop contents and prices are controlled through the shop YAML files.
- Each Coin Case stores up to
999999999 Arcade Coins. If a player has several, payouts fill them in inventory order before using physical inventory stacks.
- Shop prices, the Coin Case total, and game balance panels use compact notation.
- By default, Gacha pools are rebuilt exclusively from Cobblemon's loaded world spawn pool. Manual Pokemon lists replace this behavior for machines with
usePokemonList: true, and manual item lists for machines with useItemList: true.
- A paused Pinball round is lost if the player disconnects.
Modpacks
You're welcome to include Cobblemon MiniGames in any modpack, no need to ask for permission.
Credits
评论 0
登录后参与评分
还没有评论,来抢沙发吧