Skip to content

CastleForge 0.2.0-alpha.1: asymmetric terraced castles and terrain-aware connections - #2

Draft
badmon61 wants to merge 2 commits into
mainfrom
feat/terraced-architecture
Draft

badmon61 wants to merge 2 commits into
mainfrom
feat/terraced-architecture

Conversation

@badmon61

@badmon61 badmon61 commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Implemented — CastleForge 0.2.0-alpha.1

A separate, opt-in terraced architecture planner. The classic generator, saved culture geography and main remain unchanged.

  • Three independently elevated, offset courtyards; eight building modules including gatehouse, residence, keep and towers.
  • Four roof families, rotated directional stairs/ladders, patch-based weathering and construction-phase metadata.
  • One bounded terrain survey; four candidate orientations; limited foundations, stair connections and short supported bridge sections. Reject unsuitable sites rather than excavating mountains.
  • Geometry/navigation contracts for room floors and all four wall-walk sides. Structural blocks placed before ladder attachments.
  • /castleforge preview terraced [x z] integrates with confirmation, placement, cancel and session-only undo. The original /castleforge preview remains available.
  • Confirmation also checks unchanged doorway air and sampled ground. Undo tolerates computed stair-shape changes without ignoring facing/material/half/waterlogging changes.
  • Already-cleared replaceable vegetation no longer causes a false no-op placement failure.

Verified

Latest implementation: b9adceef183e12ecd17ff9c04e4bdad922f898e6.

Full Fabric build and generator verification passed: Actions run 39416947546, job 118608165292. The earlier implementation build also passed in run 39416718058.

  • New pure-Java suite: 32 seeds × five synthetic terrains = 160 combinations, no unexpected rejection; 100 plans include bridge sections and 96 include directional steps. Includes deterministic replays, a frozen geometry hash, rejection cases, negative/world-edge coordinates, all eight culture profiles/four rotations, navigation, supports and parallel planning.
  • The same new suite also passed locally on Java 21 with a 512 MiB heap.
  • Existing core suite: 50 castle seeds, unchanged, passed in CI.
  • Downloaded latest build artifact 12262062961; checked archive digest, expanded mod version 0.2.0-alpha.1, Minecraft target 26.1.2, included new planner/navigation classes and correct class versions (core Java 21, Fabric adapter Java 25).
  • Latest vegetation fix confirmed in the build's sources JAR. No Minecraft implementation classes are bundled.
  • Runtime JAR SHA-256: a671b190ac9081d4c7393f66ec1b33acd04de3e89b80735d83a8f0f5d3bb91c9.

Deliberate limits / pending acceptance

No Minecraft launch or in-game acceptance test performed. Disposable test worlds only. This is one richer reference grammar, not arbitrary mountain-following architecture or complete historical simulation. Planning is bounded but synchronous. No automatic worldgen, inhabitants, gigantic monuments, Bedrock/consoles, NeoForge or modpack/FPS guarantee. Undo remains in-memory, not crash-safe and not a backup.

This PR remains a draft on feat/terraced-architecture; it is not merged into main. Review and the in-game checklist in docs/TERRACED_ARCHITECTURE.md remain pending.

First test

Replace the older CastleForge JAR in a separate Minecraft 26.1.2 Fabric test instance; do not install both versions. Use a new Creative superflat world with cheats, then test a separate disposable normal world on an open gradual slope.

/castleforge preview terraced
/castleforge build confirm
/castleforge status

The whole 105×105-block survey must already be loaded. Stay nearby. The default centre is 56 blocks north of the command source; the entrance can rotate with terrain. Confirmation expires after 120 seconds. /castleforge undo only applies to the last build in the current server session and cannot replace a world backup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant