Replaced the use of Java Reflection with a direct method call to access the screen's child elements.
This change improves compatibility and stability across Minecraft versions and allows the search bar
to be dynamically repositioned alongside the "Open Folder"
and "Done"
buttons
without relying on potentially obfuscated field names.
- Added a search bar to the resource pack screen
- Live filtering of resource packs by name
-
Visual highlights:
- Green background for matching packs
- Red background for non-matching packs
- Responsive layout with search bar and buttons aligned at the bottom
- Basic support for special characters and case-insensitive search