I’m working on a 3rd party tools for minecraft, and I been searching for a solution but I couldn’t find one figure out how to decrypt .dat files. BTW using java
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s clearly stated in the link iKlsR provided, just import the minecraft server jar inside your classpath and use directly the right class to do deserialization. I guess you can open an
InputStream, skip the header and then use anInputObjectStreamto decorate and directly fetch the whole structure with classcom.mojang.minecraft.level.Level.Mind that file is compressed and that you will need to use a stream to care about that.