mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 08:14:45 +00:00
Core asks the pack's VanillaStructures providers (ModuleVanillaStructures) for rules, starts, the shift of each platform start and every module's reach, and runs the built-in fit through ModuleStructureFitting, which turns the platform's chunk into the API's StructureFit. minecraft-common's NativeStructureFitBridge hands Bukkit and the modded loaders' starts, processed template cells, template columns and legacy air to it; the platform helpers that held the fit (surface fitter, terrain integrator, support and foundation builders, post processor) are gone. The host only moves, clamps, wraps and places starts. Ownership records keep their binary layout: the two texts that held the stilts and terrain JSON now hold the start's memo, which the module writes in the same JSON, so records written before read the same. A recorded reference envelope only grows when today's reaches are wider. Tests: the fit's rules are tested in core against stated cells; the bridge and the fit end to end on the NMS harness; the object place mode and native structure fit pins stay identical.