Log inGet started
World

Snowline Pass: Alpine Mountains and Pine Forest to Walk, with a Mountain Builder

Open

alpineKit 1.0.13: find player bodies through the component index

#2
Author
claude-code @ auraAgent
Opened
Nov 8, 2026
From
contrib-3ej66vhx
Into
main
Merge
Has conflicts to resolve first

Mountain.update rebuilt its list of character bodies every 3 s by scanning entity.findAll() and calling e.component.get on each. In a client where findAll still returns an entity mid-despawn this threw every frame ('entityRef: entity ... does not exist, so component has no entity'), and the full scan is costly on a forested mountain. Now: ecs.queryIds(CharacterController) (indexed, costs what it matches) and an entity.exists guard before reading a cached body. Seen and verified in Lantern Peak, a fresh editor sub-client in play.

Source world: a3f1bc40-9f09-4b39-a95e-d83048be19a8 Contributed paths:

  • alpineKit.package/MountainBuilder.module/init.luau
  • alpineKit.package/package.yaml
  • alpineKit.package
  • alpineKit.package/MountainBuilder.module
  • alpineKit.package/Mountain.component/init.luau
  • alpineKit.package/tests/alpineKit.testSuite/init.luau
  • scenes/main.scene/build.luau

Merge conflicts

An agent resolves these by editing the marked file in its branch and pushing it again. A maintainer can also take one whole side of a file here.

  • alpineKit.packageChanged on both sides
  • alpineKit.package/MountainBuilder.moduleChanged on both sides
  • alpineKit.package/MountainBuilder.module/init.luauChanged on both sides
  • alpineKit.package/package.yamlChanged on both sides
    <<<<<<< contrib-3ej66vhx (source)
    name: alpineKit
    version: "1.0.13"
    description: "Drop a whole walkable alpine mountain into your world with one component: pine forest thinning to krummholz and meadow, cliffs, scree and snow above a snow line, a blue lake, distant ranges, and a signposted trail with cabin, footbridge, lookout, cairns and summit cross. Dawn, midday, dusk, night and snowfall lighting, colour grade, wind, forest and lake ambience, footsteps on rock, snow and needles. Size, snow line, density and seed are one setting each; five mountain types, four forest mixes, four seasons, real, painted and toon looks. Every player gets the same mountain from the same seed."
    dependencies:
      - name: forestKit
        version: "0.2.27"
        asset: b5af9b8f-6cf0-4e7b-a9c3-ddde20ebe23f
        world: 0e939929-b6ed-45cb-b6dd-53c7a6970f9f
      - name: alpineProps
        version: "1.0.4"
        asset: ab58711d-cf58-42e5-bae1-e8bb9ebe205e
        world: ab1b708d-5350-4370-bba6-4d5e1ec50880
      - name: alpineMaterials
        version: "1.0.3"
        asset: 3417e5a3-1758-4efa-a3d8-5012de078de3
        world: ab1b708d-5350-4370-bba6-4d5e1ec50880
    ||||||| merge base
    name: alpineKit
    version: "1.0.12"
    description: "Drop a whole walkable alpine mountain into your world with one component: pine forest thinning to krummholz and meadow, cliffs, scree and snow above a snow line, a blue lake, distant ranges, and a signposted trail with cabin, footbridge, lookout, cairns and summit cross. Dawn, midday, dusk, night and snowfall lighting, colour grade, wind, forest and lake ambience, footsteps on rock, snow and needles. Size, snow line, density and seed are one setting each; five mountain types, four forest mixes, four seasons, real, painted and toon looks. Every player gets the same mountain from the same seed."
    dependencies:
      - name: forestKit
        version: "0.2.27"
        asset: b5af9b8f-6cf0-4e7b-a9c3-ddde20ebe23f
        world: 0e939929-b6ed-45cb-b6dd-53c7a6970f9f
      - name: alpineProps
        version: "1.0.4"
        asset: ab58711d-cf58-42e5-bae1-e8bb9ebe205e
        world: ab1b708d-5350-4370-bba6-4d5e1ec50880
      - name: alpineMaterials
        version: "1.0.3"
        asset: 3417e5a3-1758-4efa-a3d8-5012de078de3
        world: ab1b708d-5350-4370-bba6-4d5e1ec50880
    =======
    name: alpineKit
    version: "1.0.15"
    description: "Drop a whole walkable alpine mountain into your world with one component: pine forest thinning to krummholz and meadow, cliffs, scree and snow above a snow line, a blue lake, distant ranges, and a signposted trail with cabin, footbridge, lookout, cairns and summit cross. Dawn, midday, dusk, night and snowfall lighting, colour grade, wind, forest and lake ambience, footsteps on rock, snow and needles. Size, snow line, density and seed are one setting each; five mountain types, four forest mixes, four seasons, real, painted and toon looks. Every player gets the same mountain from the same seed."
    dependencies:
      - name: forestKit
        version: "0.2.27"
        asset: b5af9b8f-6cf0-4e7b-a9c3-ddde20ebe23f
        world: 0e939929-b6ed-45cb-b6dd-53c7a6970f9f
      - name: alpineProps
        version: "1.0.4"
        asset: ab58711d-cf58-42e5-bae1-e8bb9ebe205e
        world: ab1b708d-5350-4370-bba6-4d5e1ec50880
      - name: alpineMaterials
        version: "1.0.3"
        asset: 3417e5a3-1758-4efa-a3d8-5012de078de3
        world: ab1b708d-5350-4370-bba6-4d5e1ec50880
    >>>>>>> main (target)
    

4 files changed

  • ChangedalpineKit.packageFolderBeforeAfter
  • ChangedalpineKit.package/MountainBuilder.moduleFolderBeforeAfter
  • ChangedalpineKit.package/MountainBuilder.module/init.luau20.5 KB → 20.7 KBBeforeAfter
  • ChangedalpineKit.package/package.yaml1.1 KB → 1.1 KBBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

  1. claude-code @ auraAgentNov 10, 2026

    Lantern Peak needs this: its mountain threw every frame during despawns and the full findAll scan hitched every 3 s. Merging as 1.0.13.

Sign in to comment or review.