No description
  • Java 78.3%
  • Python 21.4%
  • JavaScript 0.2%
  • Shell 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-10 09:30:19 +00:00
.forgejo
gradle/wrapper
libs
src/main
tools
.gitattributes
.gitignore
build.gradle
CLAUDE.md
gradle.properties
gradlew
gradlew.bat
README.md
RELEASE_NOTES.md
settings.gradle

MakeItRoll for NeoForge 1.21.1 (modid makeitroll)

A casino for multiplayer modpacks. It works on its own: the Drug Mod is optional, not required. Together with the Drug Mod (drugmod, repo Druggo) it also adds drug and liquor content (see below). The two mods are separate jars and separate repos; install one or both.

The display name is MakeItRoll and the jar is makeitroll-<version>.jar. Everything is renamed: the modid is makeitroll, the package is com.rik.makeitroll, the namespace is makeitroll:* and the config is makeitroll-server.toml. This is a breaking rename from the old drugcasino ids, so worlds from 0.1.x do not carry casino blocks or items over.

Works without the Drug Mod

No Drug Mod installed? The casino loads and plays normally: all machines, tables, games, village and player casinos, prizes, advancements and the Handbook work. The optional compat code only switches on when drugmod is present, and its drug/liquor prizes and themes are left out otherwise.

If the Drug Mod is installed, any version from 0.1.0-Alpha up is accepted. (The old requirement [0.1.0,) rejected the published 0.1.0-Alpha, because NeoForge/Maven sorts 0.1.0-Alpha below 0.1.0; that is fixed in 0.1.1-Alpha.)

Build & run

The optional compat code compiles against a Drug Mod jar (compileOnly, never bundled). Build the Drug Mod once and drop its jar in libs/:

git clone https://git.vos.je/SteamPodEater/Druggo ../Druggo && (cd ../Druggo && ./gradlew build)
cp ../Druggo/build/libs/drugmod-*.jar libs/      # or: ./gradlew build -PdrugmodLibs=../Druggo/build/libs
./gradlew build                                  # jar in build/libs/makeitroll-*.jar
./gradlew runServer                              # casino alone (run dir run/)

For a dev run with both mods, also copy the Drug Mod jar into run/mods/. CI (.forgejo/workflows/build.yml) does all of that and smoke-tests a server with the casino alone and with both mods. Assets are generated: tools/build_assets.sh (python3 + Pillow). Lang: edit tools/lang/*.json or the generators, then rebuild. Voice clips: tools/gen_voices.py (separate, needs kokoro-onnx).

What's in it

  • A closed token economy: Ticket Machine (emeralds in), Prize Shelf (tokens out), Mint Press and gold coins with your own mint mark.
  • Build your own casino with a Casino Controller + Blueprint (zones, staff, protection) or visit a village casino (1-5 stars in 5 biome themes, grows with the village, croupiers, night visitors, nightly income).
  • Machines and games: slot machine, pachinko (4 models), pachislot, Wheel of Fortune, plinko, coin pusher, claw machine; blackjack, roulette, poker (Texas Hold'em), craps, baccarat, sic bo, big six, keno, mines, crash, higher/lower, chuck-a-luck, coin flip, sheep race, jackpot slot.
  • A casino Handbook (Thaumcraft-style research book) and three advancement tabs.
  • Funny prizes: party popper, whoopee cushion, rubber chicken, clown horn, exploding cake, gold toilet, disco ball, plushies, fake moustache and more.
  • Own creative tab "MakeItRoll".

With the Drug Mod (compat/drugmod, only loaded when drugmod is present)

  • Drug prizes: Lucky Cigar, Hangover Kit, Golden Rolling Papers, Bottomless Flask, Golden Bong, Liver of Steel, Golden Cocktail Shaker (jackpot only), plus the vintage whiskey and cocktail bundle prizes.
  • Drug and Liquor machine themes; drunk players get double-or-nothing offers and worse odds; paranoid players see fake jackpots; skulls and the cursed dice trigger the Drug Mod trip.
  • The Drug Mod's Rehab Center cures gambling addiction; no gambling while in rehab.
  • The Drug Mod's Cook Book gets a Casino chapter; Jackpot Dust is a Custom Drug additive.
  • Extension points for the compat: core/CasinoHooks, PrizeCatalog.add.

Smoke checklist

  1. Start with only this mod installed: the mod list shows MakeItRoll and the log has no missing-class or missing-mod errors.
  2. Slot machine: tokens in hand = play, sneak = max bet. Pachinko: tokens = balls, FEVER pays a legendary prize.
  3. Prize Shelf lists prizes by rarity; bought prizes tick off in the Prize Album; all of a rarity = row reward.
  4. Build a player casino: controller + blueprint, ticket machine, prize shelf, a game and a croupier.
  5. Without the Drug Mod: no Drug/Liquor themes, no drug prizes, no errors in the log. With it (0.1.0-Alpha or newer): all of the above works.