Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Static Data

Static Data

Access mod integration data right away from your own mod initializer!

641
2
Library
Utility

Compatibility

Minecraft: Java Edition

1.21.1
1.20.4
1.20

Platforms

Fabric
Quilt

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

falkreon
falkreon Owner

Details

Licensed MIT
Published 2 years ago
Updated 2 months ago
DescriptionChangelogVersions

Show all versions

Static Data 1.1.3+1.21.1

by falkreon on Apr 6, 2025
Download

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.

Static Data 1.1.1+1.21.1

by falkreon on Jan 22, 2025
Download

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

Static Data 1.1.0+1.20.4

by falkreon on Jan 2, 2024
Download
  • Ported to fabric and updated to 1.20.4

Static Data 1.0.1+1.20

by falkreon on Jun 12, 2023
Download

This version updates StaticData to the release version of Minecraft 1.20.

Static Data 1.0.0+1.20-pre5

by falkreon on Jun 2, 2023
Download

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

Modrinth is open source.

main@4bafae8

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.