Skip to content

TX-Loader ​

5 merged pull requests.

Changes ​

  • #19 Moved resource injection point to occur immediately before user resource packs are applied. Replaced all File APIs with Path equivalents in Asset, ConfigHandler, MinecraftHook, RemoteHandler, ServerLangHelper, TXLoaderCore, and TXResourcePack classes. - @glowredman
  • #18 Refactored JarHandler and RemoteHandler for multi-threaded operation; added CompletableFutureWrapper for async task chaining; changed to on-demand JAR indexing and temporary file download patterns. Updated /tx command to client-side only. - @glowredman
    • Added: CompletableFutureWrapper for async task handling, on-demand JAR indexing, asset metadata caching
    • Removed: main thread blocking I/O

Bug Fixes ​

  • #21 Added directory creation logic to ConfigHandler asset copying. Fixed RemoteHandler to use Files.walk() for recursive directory traversal instead of non-recursive Files.list(), restoring ResourceLoader compat. - @glowredman
    • Fixed: Asset copy failures when target directory structure missing, ResourceLoader compatibility broken by Path migration

Performance ​

  • #29 TXResourcePack now pre-indexes all existing files into a Set and uses cheap .contains() checks instead of repeated File.exists() calls during resource lookup. - @boubou19
    • Added: TX resource index built at pack startup
  • #23 Replaced Files.exists() with File.exists() in TXResourcePack.resourceExists() for better performance. - @tiffit

Contributors ​

Everyone who authored, reviewed or co-authored a change on this page, with how many of them:

@boubou19 (3), @glowredman (3), @danyadev (1), @Dream-Master (1), @Eldrinn-Elantey (1), @Glease (1), @Nikolay-Sitnikov (1), @tiffit (1)