ModsFinder

Yarn Mapping Provider

by KrisanaponMeksamoot

Yarn Mapping Provider gives Fabric developers a MappingResolver for the Yarn mappings, which translate Minecraft's obfuscated names into readable ones.

FabricClient or server, optionalAll rights reserved1.19 – 1.19.3

What it does

The mod supplies a MappingResolver for Yarn mappings, and the mapping file is fetched automatically when it is needed. A developer can resolve named mappings without setting up a development environment, and the runtime namespace stays the same as before.

Minecraft's codebase is obfuscated, which means class, field and method names are deliberately made hard to read. Yarn is a project that produces human-readable mapping files for that codebase, and these files translate obfuscated names back to their original forms. The obfuscation exists for legal reasons and to discourage cheating in multiplayer, but it also makes the code harder for developers to read and understand.

Yarn Mapping Provider is published for Fabric only, with four release versions covering 1.19 – 1.19.3. Either side can load it, and neither the client nor the server needs it. The mod is licensed as All rights reserved and is not open source, although its source code and issue tracker are public.

Key features

  1. MappingResolver access

    The mod provides a MappingResolver that exposes Yarn mappings to other code that needs named names at runtime.

  2. Automatic mapping retrieval

    The mapping file is fetched automatically, so developers do not have to place it in the project by hand.

  3. Named mappings without a dev environment

    Named mappings can be resolved without using the development environment, which keeps the setup for other tools simpler.

  4. Stable runtime namespace

    The runtime namespace remains the same, so existing references that depend on it continue to work.

Compatibility

Latest build for each game version and loader.

1.19.31.1
1.19.21.1
1.19.11.1
1.191.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Reading obfuscated code

Developers working on Minecraft's code can translate obfuscated class, field and method names into the original names to make the code easier to follow.

Who it’s for: Fabric mod developers who need Yarn mappings resolved in their own tools or builds. Players and server owners do not need to take any action beyond installing the mod where a dependent project requires it.

Questions

Which loader does Yarn Mapping Provider support?

It is published for Fabric only. No Forge, NeoForge or Quilt files are listed.

Which game versions have files for Yarn Mapping Provider?

Files exist for 1.19, 1.19.1, 1.19.2 and 1.19.3, with 1.1 for 1.19.3 as the latest file, published on 2023-02-19.

Why does Minecraft need mapping files at all?

Minecraft's classes, fields and methods are obfuscated on purpose, so mapping files are needed to translate those names back to readable originals.

More from KrisanaponMeksamoot

All projects

What the author says

Yarn mapping is a project that aims to create a human-readable mapping file for the Minecraft codebase. Mapping files are used to translate obfuscated class, field, and method names to their original names. Minecraft's codebase is obfuscated, which means that the names of classes, fields, and methods are…
KrisanaponMeksamoot, on the Modrinth page

Official listing

Owner
KrisanaponMeksamoot
Published
2023-02-18
Updated on Modrinth
2023-02-19
Facts verified
2026-10-15