Skip to content

feat: integrate Mod Menu, clean up templates, and update to Minecraft 26.2 - #1

Open
LazeXD wants to merge 31 commits into
Roksx1:mainfrom
LazeXD:main
Open

feat: integrate Mod Menu, clean up templates, and update to Minecraft 26.2#1
LazeXD wants to merge 31 commits into
Roksx1:mainfrom
LazeXD:main

Conversation

@LazeXD

@LazeXD LazeXD commented Jul 16, 2026

Copy link
Copy Markdown

Overview

This PR integrates the Mod Menu API to easily open the Cloth Config interface, migrates build dependencies to support Minecraft version 26.2 (Fabric), cleans up leftover template files, and adds professional, simple documentation comments throughout the codebase.

Key Changes

  • Mod Menu Integration:
    • Implemented the ModMenuApi entrypoint class (ModMenuIntegration.java).
    • Added Terraformers MC repository and the Mod Menu dependency under the standard implementation Gradle configuration for unobfuscated environments.
    • Registered the entrypoint and suggestions (>=20.0.0) in fabric.mod.json.
  • Minecraft 26.2 Compatibility:
    • Refactored TitleService.java to access screen overlays via minecraft.gui.hud to support recent Mojang mapping changes.
    • Updated standard library dependencies to support target requirements (cloth-config and fabric-api).
  • Template Cleanup:
    • Removed unused template files (ExampleMixin.java and farmalert.mixins.json).
    • Replaced the template "Hello Fabric world!" logger initializer statement in FarmAlert.java with a custom mod message.
  • Localization:
    • Switched the hardcoded string literals "END OF FARM" and "TELEPORT NOW" to translation keys.
    • Configured translation targets inside en_us.json.
  • Codebase Documentation:
    • Added clean and concise Javadoc and inline comments to all Java source files.
    • Updated README.md to reflect current build guidelines, dependencies, and features.

LazeXD added 30 commits July 16, 2026 23:11
Added documentation comments to the TeleportDetector class and its methods, explaining their purpose and functionality.
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.

1 participant