DataFixerUpper

Minecraft Wiki article. Categories: Java_Edition, Minecraft_stubs, Stubs, Minecraft_Work_in_progress, Minecraft_Work_in_progress_without_a_note, Unknown_Java_version_history, Java_Edition_technical

📌 Mirrored from Minecraft Wiki

This article is reproduced from DataFixerUpper on the Minecraft Wiki. Mirrored from revision 3686649. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This feature is exclusive to Java Edition.
 
This article is a stub.
 
You can help by expanding it. The talk page may contain suggestions.
This article is a work in progress.
 
Please help expand and improve it. The talk page may contain suggestions.
DataFixerUpper

DataFixerUpper, often abbreviated as DFU, is a library developed and used by Mojang for handling world upgrades and version changes in Java Edition. It provides utilities for data fixing, such as Functions with more inputs (3, 4... 16), and serialization, such as codecs, used by various elements across the codebase. The library helps developers update and migrate data entries such as ids and the format of how data is stored.

Packages

Package Description
com.mojang.serialization Contains codec and helpers for codecs and serialization in general.
com.mojang.datafixers Contains the utilities used for data fixing.

History

Java Edition
1.13?Minecraft now uses DataFixerUpper.

Version history

Version Date Changes
1.0.19 October 5, 2018[1]
  • Initial release
1.0.20 October 16, 2018[2]
  • Fix concurrency and performance issues.
  • Split up bootstrap tasks and submit individual ones to the executor.

See also

References

Sources