Skip to content

Releases: DebuggyTeam/StaticData

1.1.3

Choose a tag to compare

@falkreon falkreon released this 06 Apr 04:01
494a4d6

This is the long-form fix for a bug on Windows, superseding the band-aid from v1.1.2. Unfortunately the band-aid didn't do the job, but now the full fix is ready.

Filesystems have different path-separators, which if we're not careful can pollute Identifiers with disallowed characters. In almost all cases, the files StaticData deals with are from nio ZipFS or java.util.zip.ZipInputStream. These sources always return forward slashes as PathSeparators, allowing... incorrect logic to work without giving any warning of trouble.

This failed with the addition of bare-folder StaticData Packs. These files are sourced directly from the OS filesystem, which can report multiple consecutive backslashes that resisted any quick band-aid fix that still relied on String splitting and replacements.

This update rewrites and sets aside the logic that constructs Identifiers from relative Paths, only ever using Path.nameCount and Path.getName to acquire the directory structure and filename, and recombines the result with forward slashes that Identifier allows. This is more in line with how I've been doing things recently in places like EarlyTags, and should be nearly bulletproof.

1.1.2

Choose a tag to compare

@falkreon falkreon released this 02 Apr 10:50
922097e

Bugfix release - improves path separator stripping, attempts to prevent leakage of windows path separators into Identifiers

1.1.1

Choose a tag to compare

@falkreon falkreon released this 22 Jan 01:54
fab97ef

This version updates StaticData to Minecraft 1.21.1 with zero API changes. Enjoy!

1.1.0+1.20.4

Choose a tag to compare

@falkreon falkreon released this 02 Jan 18:35
83c7573
  • Ported to fabric and updated to 1.20.4

v1.0.1+1.20

Choose a tag to compare

@falkreon falkreon released this 12 Jun 01:26
0a2827b

Brings StaticData up to the release version of Minecraft 1.20

1.0.0+1.20-pre7

Choose a tag to compare

@falkreon falkreon released this 03 Jun 04:25
2a7a909

No code changes, just gradle configuration changes. Only use this if the pre5 build doesn't work.

1.0.0+1.20-pre5

Choose a tag to compare

@falkreon falkreon released this 03 Jun 01:17
20b5823

First standalone version since Minecraft 1.14!

Updates Since the 1.19.4 embedded build:

  • Separate methods for file and directory search
  • Supports recursive searches
  • Supports staticdata packs