✅ Bug Fix: Replaced the use of Java Reflection with a safe, direct method call.
This resolves a critical issue where the search bar failed to initialize due to internal field access problems.
The search bar is now properly displayed and repositioned alongside the other configuration buttons,
resulting in a cleaner and more intuitive user interface layout.
🚀 Added
- ✨ Secure chat mode to protect against unwanted messages.
- ✨ Activatable word filter with customizable filtered word list.
- ✨ “Hide All Messages” option to completely suppress all chat messages.
- ✨ Option to disable special characters in chat messages.
- ✨ In-game configuration GUI with checkboxes and text input for easy management.
- ✨ Persistent settings stored as JSON in
config/secureconfig.json. - ✨ Keybind (default:
O) to quickly open the configuration GUI. - ✨ Chat HUD mixin that blocks messages based on active filters.
- ✨ Utility class for detecting special characters and extracting chat sender info.
⚙️ Changed
- 🔄 Chat filter logic optimized so that enabling “Hide All Messages” disables other filters.
- 🔄 GUI layout dynamically adapts to enabled options by hiding irrelevant controls.
- 🔄 Use of reflection for checkboxes to maintain consistency with Minecraft’s native widgets.
🛠️ Fixed
- ✅ Proper unloading of the configuration GUI upon saving changes.
- ✅ Improved error handling when loading and saving the JSON config.
- ✅ Prevented checkbox toggle conflicts by decoupling linked options.
📚 Developer Notes
- 🧠 JSON config file auto-created and maintained in the config folder.
- 🧩 Implemented as a Fabric client mod with keybind event and Mixin integration.
- 🔐 Focus on privacy and customizable client-side chat filtering.





