villagecanals-fabric-0.9.0.jar
Curse Maven Snippet
What's new
0.9 is the visual overhaul: the same canal functions, but two villages no longer look alike.
Tunnel profiles
- New data model
TunnelProfile(barrel_vault,rectangular_service) with the ceiling curve as data;barrel_vaultreproduces the 0.8 look exactly (regression: identical plan hash). - Profiles are chosen per tunnel segment (deterministic hash of the segment + seed), not per chunk.
- Adapters: where two segments with different profiles meet, the ceiling morphs over 6 blocks from the neighbouring profile to its own (
CanalPlan.Blend), so the cross-section change is a ramp, not a step. - Both profiles share the crown height, so a junction never drops below the 2-block walkway headroom.
- Config:
tunnel_profile_variants_enabled(default true; false = 0.8 look).
Biome palettes
BiomeStyle+PaletteResolver: vanilla biomes map totemperate_stone,arid_sandstone,cold_stoneorswamp_ruins; modded biomes always useneutral_fallback(BWG/Terralith/CTOV villages are never recoloured or disabled).BiomePaletteholds per-role block lists (wall base/secondary/weathering, floor, ceiling, rib, slab, rim, foundation). Selection is position-hashed, so chunk order cannot change blocks; slabs keepSlabType.TOP.- Config:
biome_palettes_enabled(default true; false = neutral 0.8 stone look). - Verified in game: a desert village uses sandstone walls and its gutter holds water.
Entrances
- Five styles with real voxel builders:
brick_hatch(legacy),village_well(5x5 parapet + corner posts),service_hut(5x5 hut with door and roof),ruined_stairwell(open stair trench + ladder),edge_outlet(5x5 retaining wall with iron-bar opening). - Style selection is deterministic; a style is only used when its surface envelope is free of village pieces, otherwise the planner falls back to
brick_hatch(it never punches through a house). - Fixed in 0.9: entrances no longer disappear when the worldgen heightmap is stale (the carver scans the column itself), shallow villages get a short hatch instead of nothing, and a flooded column is retried within +/-2 blocks.
/villagecanals debug entrances(OP +enable_debug_commands) lists the entrances that were actually built with position, style and feature id.- Config:
entrance_variants_enabled(default true).
Decorations
12 kinds, deterministic stations along every tube, skipped near rooms, necks and shafts: support_rib, wall_buttress, side_niche, hanging_chain, broken_masonry, moss_patch, maintenance_barrel, iron_grate, dripstone_tip, water_stain, walkway_repair, small_bridge. decorations=false disables the whole pass; decoration_density (0-1, default 0.6) and weathering_intensity (0-1, default 0.45) tune it. debug metrics reports per-kind counts.
This mod has no additional files