- Conventions and Terminology
- Development Tools
DataFixing is a very complex subject and we do not take any responsibility for damaged worlds and or saves. If you are trying something out, please backup your worlds.
Most importantly DO NOT COPY CODE WITHOUT READING WHAT IT DOES.
The name honestly explains what it does, it fixes data by converting an old data format to a newer one. DataFixers are used in cases ranging from renaming an item to The Flattening inside Minecraft.
Hold on a second you are probably going to need a lot of context first or you will be entirely confused, so just read on a bit more.
DataFixerUpper (DFU) is the library Mojang created for DataFixing. Without getting into 10 academic articles it uses Profunctor Optics and some other mathematical magic to transform the datasets.
DFU within Minecraft has been used to do many things including: