Village casinos: no power, spawn closer, always room to grow #1

Merged
SteamPodEater merged 1 commit from village-casino-spawning into main 2026-11-10 09:05:34 +00:00
Owner

Requested by Rik · project thread

What changes

  • No power in village casinos: machines inside a village casino zone never need FE. The 25 village templates now have a barrel where the Casino Generator stood. The layout and template sizes are unchanged, so casinos already in a world keep working and can still upgrade. The village coal top-up is removed.
  • Closer to the village: sites are tried 3, 5, 7, 9 and 12 blocks from the village box (was 8-24 random), closest first, with three spots per side.
  • Always room to grow: a site is only used when the full 5-star footprint plus a 2-block free ring fits (no more "No room to grow" casinos). Survival players cannot place blocks in the ground the casino will grow into (creative still can, and those blocks still block the upgrade as before).

Not tested in game

maven.neoforged.net is blocked from the build container, so Gradle could not run. Checked with the javac syntax check from CLAUDE.md (only missing-MC-jar errors), tools/build_assets.sh and tools/check_trees.py.

Trade-off: villages on rough terrain with no flat 5-star site within 12 blocks now get no casino instead of a small capped one.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MfH3NBzVMUijPYLmpAUPwK

<!-- claude-projects-attribution --> _Requested by **Rik** · [project thread](https://claude.ai/code/project/chan_01GF4aYRVNpT2F67Hfz4fSLG?thread=cmsg_01GF4aYRVNpT2F67Hfz4fSLGMhvpZkiNXCoor32CLK6N17)_ ## What changes - **No power in village casinos**: machines inside a village casino zone never need FE. The 25 village templates now have a barrel where the Casino Generator stood. The layout and template sizes are unchanged, so casinos already in a world keep working and can still upgrade. The village coal top-up is removed. - **Closer to the village**: sites are tried 3, 5, 7, 9 and 12 blocks from the village box (was 8-24 random), closest first, with three spots per side. - **Always room to grow**: a site is only used when the full 5-star footprint plus a 2-block free ring fits (no more "No room to grow" casinos). Survival players cannot place blocks in the ground the casino will grow into (creative still can, and those blocks still block the upgrade as before). ## Not tested in game maven.neoforged.net is blocked from the build container, so Gradle could not run. Checked with the javac syntax check from CLAUDE.md (only missing-MC-jar errors), `tools/build_assets.sh` and `tools/check_trees.py`. Trade-off: villages on rough terrain with no flat 5-star site within 12 blocks now get no casino instead of a small capped one. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01MfH3NBzVMUijPYLmpAUPwK
Village casinos: no power needed, spawn closer, always room to grow to 5 stars
All checks were successful
Build / build (push) Successful in 7m46s
Build / build (pull_request) Successful in 3m55s
2020f1600f
- Machines inside a village casino zone never need FE (CasinoEnergy.required(Powered)).
  The village templates hold a barrel where the Casino Generator stood (same layout and
  sizes, so casinos already placed keep their frame); the coal top-up is gone.
- Placement tries 3, 5, 7, 9 and 12 blocks from the village box (was 8-24), closest first,
  three spots per side.
- Only sites where the full 5 star footprint plus a 2 block free ring fits are taken
  (no smaller cap any more), and survival players cannot place blocks in the ground the
  casino still grows into.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MfH3NBzVMUijPYLmpAUPwK
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SteamPodEater/MakeItRoll!1
No description provided.