[Forge - 1.20.1] Block Jackpot - Casino Machines - 0.4.0.jar
Curse Maven Snippet
What's new
# Block Jackpot: Casino Machines — 0.4.0
This release adds Blackjack and responds to player feedback asking for configurable machine currencies.
## New Blackjack Machine
The fourth casino block is a server-authoritative single-player Blackjack table. Deal a hand, then choose Hit, Stand, or Double Down. The dealer stands on 17. A natural Blackjack returns x2.5 of the wager, a normal win returns x2, and a push returns the wager. Double Down is available only on the first two cards and takes one additional wager before drawing exactly one final card.
The dealer's hole card stays hidden during the player's turn. Cards, totals, wager removal, deck shuffle, dealer play, and payouts are all controlled by the server.
Cards now travel visibly from the dealer shoe to the table one at a time, with a short pause between cards. Hit cards, the dealer's hole-card reveal, and dealer draws use the same paced queue. Controls and result feedback wait until the visible deal finishes.
After Stand, the server now reveals and advances the dealer on a timed sequence rather than calculating and synchronizing the complete hand in one tick. Each required dealer card is sent roughly 0.7 seconds apart, and the final result is not settled until after the last card's display window.
Closing the interface during a live hand safely resolves it as Stand. This prevents accidental wager loss without creating a refund exploit.
## Configurable wager items
On first launch, the server writes `config/block-jackpot-casino-machines.json`. The new `wagerItems` array accepts namespaced vanilla or modded item IDs:
```json
"wagerItems": [
"minecraft:gold_ingot",
"minecraft:diamond",
"your_mod:casino_chip"
]
```
The order in this list is the order shown by the wager-item arrows in all four machines. Duplicate IDs are collapsed. Invalid IDs and `minecraft:air` are ignored. If no valid entries remain, Block Jackpot restores the original nine wager items so no machine becomes unusable.
The server owns the list. The selected registry item is synchronized through each open menu, so players joining a dedicated server do not need a matching local config file. Restart the game or server after editing the config.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

