TS-Const: From a Simple Clone to 30+ Custom Modules - My Minecraft Modding Journey

TS-Const: From a Simple Clone to 30+ Custom Modules - My Minecraft Modding Journey

  • 04 Jan 2025

It all started with a simple idea: I needed a custom module for Meteor Client. So I cloned a project, thinking I'd just add one small feature. Little did I know this would become a full-blown development journey that resulted in 30+ custom modules and a complete addon called TS-Const.

The Beginning: A Simple Clone

Like many developers, I began by cloning an existing project. I had a specific need - something that wasn't quite available in the standard Meteor Client modules. The plan was simple: clone, add one module, and be done with it.

But as I started working, I realized the potential was much greater. Each problem I encountered while playing Minecraft on Constantiam (an anarchy server) became an opportunity to build something new.

One Module Became Many

What started as a single module quickly grew:

  • BaritoneElytraHelper: Advanced elytra pathfinding with Grim AC evasion
  • ElytraFlyHelper: Enhanced elytra flight mechanics
  • ConstSpeed & AnotherSpeed: Custom movement modules optimized for anarchy servers
  • FastSwimUp: Quick vertical movement in water
  • AutoFillBack: Automatic block placement behind you

Automation & Mining

  • AutoTunnel: Automated tunnel creation with configurable dimensions
  • SmartTunnel: Advanced tunneling with stuck detection and lava filling
  • AutoMineForward: Forward mining automation
  • BaritoneTunnelHelper: Integration with Baritone for smart tunneling

Utility & Quality of Life

  • SpawnNotes: Track spawn points across multiple accounts with screenshots
  • QuickToggleGUI: Quick-access GUI for toggling modules with large buttons
  • AutoOminousPotion: Automated AFK raid farming with intelligent potion consumption
  • VillagerInfo: Display villager reputation and custom name tags
  • CustomESP: Advanced ESP system for entities and blocks with grouping
  • AutoToggleOnJoin: Automatically enable modules when joining servers

Anti-Cheat & Evasion

  • GrimPullCounter: Advanced techniques to counter Grim Anti-Cheat pulls
  • BaritoneElytraHelper: Unloaded chunk detection to prevent Grim triggers

Hunting & Exploration

  • TSBaseFinder: Find and log player bases
  • OldChunkAlarms: Alert system for old chunks
  • PlayerLogoutDetector: Detect when players log out

And Many More...

The list keeps growing. Each module solves a real problem I encountered while playing, making the game more enjoyable and efficient.

The Learning Journey

This project has been an incredible learning experience:

Understanding Minecraft's Internals

I learned how Minecraft's packet system works, how to interact with entities, how status effects are managed, and how the rendering system functions. Each module required diving deep into Minecraft's codebase.

Working with Meteor Client

Understanding Meteor Client's architecture, event system, and module framework was crucial. I learned how to:

  • Create custom modules with settings
  • Handle events properly
  • Integrate with existing Meteor features
  • Use mixins to modify behavior

Dealing with Anti-Cheat

One of the most interesting challenges was working around Grim Anti-Cheat:

  • Detecting unloaded chunks that trigger instant bans
  • Countering pull mechanics
  • Implementing fake ground states
  • Velocity manipulation techniques

File I/O and Data Management

Modules like SpawnNotes required learning:

  • JSON serialization with Gson
  • File management across multiple accounts
  • Screenshot integration
  • Thread-safe operations

Key Modules and Their Stories

BaritoneElytraHelper: The Complex One

This module started simple but became one of the most complex. It needed to:

  • Detect Baritone's elytra pathfinding state
  • Handle disconnects and reconnections
  • Fire rockets even when the game window is out of focus
  • Detect and avoid unloaded chunks
  • Apply speed limits to evade Grim AC

Each feature required solving unique problems, from reflection-based Baritone interaction to direct packet sending for rocket firing.

AutoOminousPotion: The Iterative One

This module went through many iterations:

  1. First version: Basic potion consumption
  2. Second version: Added Bad Omen detection
  3. Third version: Added raid detection
  4. Fourth version: Improved Bad Omen detection with comprehensive logging
  5. Fifth version: Added long cooldown to prevent rapid consumption

Each iteration solved real problems discovered during actual use. The debug logging alone went through multiple refinements to be useful without being overwhelming.

SpawnNotes: The Feature-Rich One

What started as simple spawn point tracking evolved into:

  • Multi-account support with UUID-based storage
  • Screenshot integration
  • Two-click confirmation system
  • General notes system
  • GUI for viewing all accounts' spawn points
  • Clickable screenshot filenames

This module taught me about user experience - sometimes the "simple" feature needs many supporting features to be truly useful.

Challenges and Solutions

The Crash Fixes

Several modules had to be fixed due to crashes:

  • KillAuraMixin: Fixed NullPointerException in Meteor's KillAura
  • VillagerInfo: Fixed class loading issues with inner classes
  • TSBaseFinder: Fixed similar class loading problems

These fixes taught me the importance of proper class structure and null safety.

The API Changes

Minecraft 1.21 introduced many API changes:

  • PlayerInteractItemC2SPacket constructor changed
  • ChatMessageC2SPacket message access changed
  • Status effect system updates
  • Potion component system changes

Each change required research and adaptation, keeping the modules compatible with the latest Minecraft version.

The User Feedback Loop

Many features were refined based on actual usage:

  • SpawnNotes confirmation: Started with 3 clicks, refined to 2, then added shift-bypass
  • AutoOminousPotion cooldown: Started at 6 seconds, increased to 10 seconds, then to 5 minutes
  • Debug logging: Started too verbose, refined to only important events

This iterative process made the modules much better than they would have been otherwise.

The Current State

Today, TS-Const includes:

  • 30+ custom modules across multiple categories
  • Version 1.8.2 with continuous improvements
  • Comprehensive features for anarchy server gameplay
  • Active development with regular updates

What I've Learned

Development Practices

  • Start simple, iterate: Most modules started simple and grew based on needs
  • Test in real scenarios: Real gameplay reveals issues that testing doesn't
  • User feedback is gold: Actual usage feedback led to the best improvements
  • Documentation matters: Good debug logging and info messages help users

Technical Skills

  • Java and Minecraft modding: Deep understanding of both
  • Event-driven architecture: Meteor Client's event system
  • Reflection and mixins: Advanced techniques for modifying behavior
  • File I/O and serialization: Managing persistent data
  • Thread safety: Ensuring operations happen on the correct thread

Problem-Solving

Each module required solving unique problems:

  • How to detect Baritone's state without direct API access
  • How to fire rockets when the window is unfocused
  • How to detect unloaded chunks efficiently
  • How to counter anti-cheat systems
  • How to manage data across multiple accounts

The Future

This journey isn't over. There are always new problems to solve, new features to add, and new modules to create. The project continues to evolve based on:

  • Real gameplay needs: Problems encountered while playing
  • User requests: Features requested by others
  • Technical improvements: Better ways to do things
  • Minecraft updates: Adapting to new versions

Conclusion

What started as a simple clone to add one module has become a comprehensive addon with 30+ modules. This journey has been about:

  • Learning by doing: Each module taught me something new
  • Solving real problems: Every module addresses an actual need
  • Iterative improvement: Refining features based on usage
  • Community contribution: Building something others can use

If you're thinking about starting a similar project, my advice is: just start. Clone that project, add that one module, and see where it takes you. You might end up with 30+ modules too!


TS-Const is an open-source addon for Meteor Client, optimized for anarchy servers like Constantiam. Check out the repository to see all modules and contribute your own!

Modules mentioned in this post:

  • BaritoneElytraHelper, ElytraFlyHelper, ConstSpeed, AnotherSpeed, FastSwimUp, AutoFillBack
  • AutoTunnel, SmartTunnel, AutoMineForward, BaritoneTunnelHelper
  • SpawnNotes, QuickToggleGUI, AutoOminousPotion, VillagerInfo, CustomESP, AutoToggleOnJoin
  • GrimPullCounter, TSBaseFinder, OldChunkAlarms, PlayerLogoutDetector
  • And many more...

Related Posts

Building Chrome Extension: From Personal Tool to Public Release

Building Chrome Extension: From Personal Tool to Public Release

  • 14 Jan 2025

I’ve always enjoyed tinkering with code to solve my own problems. While playing **Sunflower Land**, a web-based game, I found myself wanting a more efficient way to handle certain tasks. That’s where

Read More
Building d1g.uk: My Journey Creating the Sunflower Land Desert Digging Helper

Building d1g.uk: My Journey Creating the Sunflower Land Desert Digging Helper

  • 13 Apr 2025

When I started playing **Sunflower Land**, I noticed that its *Desert Digging* feature had plenty of mystery and strategy — but also a lot of tedious guesswork. I wanted to make something that could

Read More
Bringing Chatbots to Life: My Journey with the GPT-Powered Chat Widget

Bringing Chatbots to Life: My Journey with the GPT-Powered Chat Widget

  • 10 Jun 2025

When I was exploring ways to enhance user engagement on websites, the idea of a **GPT-powered chatbot** caught my attention. The potential for instant communication and support was immense, and I kne

Read More