Saxonberg Server API
    Preparing search index...

    Class BiomeApi

    Index

    Constructors

    Methods

    • Whether a default air-breather exchanges gas in an atmosphere tag. Throws on unknown tag — the same validation seam as BiomeApi.densityOf. The respiration driver's medium trigger reads this: air-breathers drown in water/vacuum.

      Parameters

      • tag: string

      Returns boolean

    • Thermal conductivity of an atmosphere tag — the surrounding medium's term in a Thermal object's heat-exchange resistance. Throws on unknown tag (mirrors densityOf). Water conducts far faster than air; vacuum is tiny but non-zero so insulated vessels cool slowly rather than never.

      Parameters

      • tag: string

      Returns Quantity<"W/(m·K)">

    • Density of an atmosphere tag at standard conditions. Throws on unknown tag — this is the validation seam for the otherwise- silent setAtmosphere(string) setter. (The setter accepts any string; the density lookup is where unknown tags surface.)

      Parameters

      • tag: string

      Returns Quantity<"kg/m³">

    • Singleton path lookup. Returns null when no template is registered at the path. Cross-references on Atmospheric scopes store the path string and re-resolve on each call (HMR-safe).

      Parameters

      • path: string

      Returns default | null

    • Cached accessor for the root universe biome at /lib/biome/. Used by chain step 6 (universe terminal) and by Altimeter's sea-level reference. Throws when the root biome isn't loaded — a boot-time invariant; the seeded universe biome at seeds/lib/biome/universe.yaml is mandatory.

      Returns default

    • Walk outward through containment ancestors and return whether the nearest atmospheric-ancestor's biome composes SkyExposedMixin. Returns false when no biome resolves (the scope has no atmospheric ancestor with a biome ref).

      Parameters

      Returns boolean

    • Re-stamp every Thermal object directly contained in room so each re-resolves its cached ambient (lastAmbientK) against the room's current — now possibly weather-deviated — temperature. The gated wrapper (D-F) over the same fan-out AtmosphericMixin runs on an ambient-shift; the weather segment-boundary coupling (WeatherApi.onBoundary) calls this for occupied SkyExposed rooms so a weather change reaches thermal without touching its sync read path. Fire-and-forget — restamp is async; the room scope stays sync.

      Parameters

      Returns void