com.mojang.serialization.Codec

I used MCP-Reborn to view the source code of Minecraft. But I can't seem to find the class named "Codec". I can see it referenced in the code, but not the code that makes the class. Anyone know where I can find the code for that class?

Posted Nov 25, 2020, 8:52 PM UTC

21
cherryblossom001•

This seems to be part of Mojang's DataFixerUpper library. The source for the Codec interface can be found at src/main/java/com/mojang/serialization/Codec.java.

1