mc-classic

Crates.iomc-classic
lib.rsmc-classic
version0.1.2
created_at2025-05-10 02:15:34.27683+00
updated_at2025-09-08 16:48:56.205485+00
descriptionLibrary to read and write classic minecraft files. Still in development, and unstable.
homepagehttps://github.com/Sl1mj1m14/rust-mc-classic
repositoryhttps://github.com/Sl1mj1m14/rust-mc-classic
max_upload_size
id1668003
size84,873
(Sl1mj1m14)

documentation

README

rust-mc-classic

Contains functionality for reading and writing Minecraft Classic & Pre-classic worlds.

How Does Minecraft Classic Store Files?

Minecraft classic technically stores files in 2 main formats, these being .dat and .mine. I say technically here because in actuality these are identical file formats with just different extensions. Going further in depth, the actual file format for both is a gzip stream of bytes, and depending on the version the world is saved in, there are 3 major formats.

Format #1

From Pre-Classic 132011 Through Classic 0.0.12a_03 classic files only store the world blocks, in the format of XZY

Format #2

From Classic 0.13a-dev Through Classic 0.13a_03 classic files follow the following format:

Commit count: 35

cargo fmt