WorldTile.health is not terrain height
❌ Failed approach TerraForge 0.0.5
WorldTile.health is not terrain height
Section titled “WorldTile.health is not terrain height”During an early TerraForge height-storage search, automatic reflection matching selected WorldTile.health as a candidate.
It looked plausible enough to test.
It was wrong.
What happened
Section titled “What happened”TerraForge wrote generated values into WorldTile.health.
The values changed, but terrain height did not.
This is a useful example of a dangerous reflection pattern:
“numeric field with a plausible name” is not evidence of semantic meaning.
What replaced it
Section titled “What replaced it”A dedicated height-storage probe later confirmed:
WorldTile.HeightWorldTile.data.heightas the real terrain-height storage in the tested build.
Rule extracted from the failure
Section titled “Rule extracted from the failure”When discovering unknown game internals with reflection:
- find candidates;
- do not promote the first match to a fact;
- write a minimal reversible probe;
- verify a visible or measurable behavioral effect;
- log the exact tested member;
- only then document it as Verified.
This graveyard entry exists because the incorrect route is exactly the kind of mistake another modder — or an AI assistant — could repeat.