Skip to content

Port full Catlas-Fabric dungeon map stack into SkytilsMod#589

Draft
Copilot wants to merge 8 commits into2.x-newfrom
copilot/integrate-catlas-dungeon-map
Draft

Port full Catlas-Fabric dungeon map stack into SkytilsMod#589
Copilot wants to merge 8 commits into2.x-newfrom
copilot/integrate-catlas-dungeon-map

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 10, 2026

The repository only had a lightweight dungeon map overlay, not the full Catlas feature set requested. This change ports the actual Catlas-Fabric implementation into SkytilsMod, including its dungeon scanning, state tracking, HUD rendering, events, mixins, assets, and supporting shared types.

  • Full Catlas feature import

    • Replaces the temporary CatlasDungeonMapOverlay with the real Catlas implementation under features/impl/dungeons/catlas/**
    • Imports Catlas dungeon logic layers:
      • DungeonFeatures
      • DungeonTimer
      • ScoreCalculation
      • DungeonListener
      • ServerPayloadInterceptor
    • Wires Catlas bootstrap into Skytils.kt so the imported feature stack is initialized with the rest of the mod
  • HUD, config, and GUI integration

    • Adds Catlas HUD/config/editor classes:
      • CatlasConfig
      • CatlasElement
      • DungeonMapPlayer
      • GuiManager
      • GuiElement
      • Catlas editing/options GUI code
    • Removes references to the old temporary screens and points commands to the imported Catlas-compatible UI
  • Event and mixin surface required by Catlas

    • Expands the events module with Catlas-required event types for play/render/world/entity flows
    • Ports Catlas event-emitting mixins into events/src/main/java/gg/skytils/event/mixins/**
    • Adds Catlas transformer/accessor mixins for HUD rendering, packet hooks, GUI hooks, map accessors, and audio hooks
  • Vendored shared/runtime code

    • Vendors websocket shared packet/client code into src/main/kotlin/gg/skytils/skytilsws/**
    • Vendors hypixel-api types used by the imported Catlas utilities into src/main/kotlin/gg/skytils/hypixel/types/**
    • Extends local build configuration for the imported runtime stack (Ktor, Brotli, protobuf, MixinExtras, Essential loader repos)
  • Resources and metadata

    • Ports assets/catlas/** including room metadata, state mappings, marker/checkmark textures, and language files
    • Adds supporting assets/skytils/** resources used by the imported GUI/runtime code
    • Updates resource metadata:
      • fabric.mod.json
      • mixins.skytils.json
      • mixins.skytils-events.json
      • mixins.skytils-init.json
      • mcmod.info
  • Skytils-local adaptation

    • Keeps the mod identity as skytils instead of turning the repo into a standalone catlas mod
    • Extends Reference with the Catlas data/API fields expected by the imported code
    • Removes stale preLaunch wiring from fabric.mod.json and aligns the imported bootstrap path with this repository
  • Defensive import fixes

    • Adds safe fallbacks around Catlas JSON resource loading in:
      • ScanUtils.kt
      • LegacyIdProvider.kt
    • Removes an invalid serializer self-reference introduced by the imported Skytils.kt

Example of the new bootstrap path:

arrayOf(
    this,
    DungeonListener,
    MayorInfo,
    guiManager,
    SBInfo,
    SoundQueue,
    Catlas,
    DungeonFeatures,
    DungeonTimer,
    ScoreCalculation,
    ServerPayloadInterceptor
).forEach(EventSubscriber::setup)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • maven.architectury.dev
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -Xmx4096m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /home/REDACTED/.gradle/wrapper/dists/gradle-8.14-bin/38aieal9i53h9rfe7vjup95b9/gradle-8.14/lib/gradle-daemon-main-8.14.jar (dns block)
  • maven.fabricmc.net
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -Xmx4096m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /home/REDACTED/.gradle/wrapper/dists/gradle-8.14-bin/38aieal9i53h9rfe7vjup95b9/gradle-8.14/lib/gradle-daemon-main-8.14.jar (dns block)
  • maven.minecraftforge.net
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -Xmx4096m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /home/REDACTED/.gradle/wrapper/dists/gradle-8.14-bin/38aieal9i53h9rfe7vjup95b9/gradle-8.14/lib/gradle-daemon-main-8.14.jar (dns block)
  • repo.essential.gg
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED -Xmx4096m -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /home/REDACTED/.gradle/wrapper/dists/gradle-8.14-bin/38aieal9i53h9rfe7vjup95b9/gradle-8.14/lib/gradle-daemon-main-8.14.jar (dns block)
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)
    • Triggering command: /usr/bin/python python - (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits March 10, 2026 17:58
Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>
Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>
Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>
Copilot AI changed the title Add a Catlas dungeon map HUD overlay to Skytils Port full Catlas-Fabric dungeon map stack into SkytilsMod Mar 13, 2026
Copilot AI requested a review from My-Name-Is-Jeff March 13, 2026 04:32
Copilot AI and others added 4 commits March 13, 2026 01:14
…directives for MC 1.21.1 (#590)

* Initial plan

* Fix bugs and prune unused code: remove preprocessor directives, fix wrong event imports, delete duplicate files

Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>

* Rename onMouseClickEventImpl to handleMouseClickEvent for clarity

Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>
* Initial plan

* Remove unnecessary files and dependencies: sychicskin.png, GPG keys, essential-loader, orphaned legal files, unbundle MixinExtras

Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>

* Prune unused utilities, remove mcmod.info and ASM legal file

Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>

* Remove unnecessary legal text files for transitive/non-bundled dependencies

Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com>
…th testing

- Create custom ESP render layers (espLines, espFilledBoxLayer) with NO_DEPTH_TEST
  so they render through walls as intended for dungeon map visualization
- Separate HeightProvider to use standard RenderLayers.LINES_TRANSLUCENT with
  normal depth testing for debug heightmap visualization
- Add AccessorRenderLayer mixin @invoker to safely access RenderLayer.of()
  across obfuscation environments (Yarn/intermediary/production)
- Fix Matrix3x2fStack and RenderPipeline APIs for 1.21.8+ HUD rendering
  (push/pop → pushMatrix/popMatrix, translate/scale without Z, rotate in degrees)
- Preserve CustomRenderLayers depth testing modifications from vanilla source
  (ALWAYS_DEPTH_TEST via NO_DEPTH_TEST + writeDepth=false)

Fixes: Catlas dungeon map compilation errors and rendering behavior on 1.21.11
Moves brotli, ktor, kotlinx-serialization, and mixinextras from hardcoded strings in build.gradle.kts to gradle/libs.versions.toml.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants