Crates.io | spuz_piston |
lib.rs | spuz_piston |
version | 0.1.1 |
source | src |
created_at | 2024-04-28 18:29:31.610989 |
updated_at | 2024-05-27 20:33:06.572986 |
description | Minecraft json documents described in Rust |
homepage | |
repository | https://github.com/coppebars/spuz.git |
max_upload_size | |
id | 1223447 |
size | 164,329 |
Json specification of the minecraft json things, such as version manifests, version lists, jre components
Version manifest (example)
Contains information about the game files and how else to run the game
Version list (example)
Information about versions over time
Asset Index (example)
Game assets files metadata
Java Runtimes (example)
Java runtime components that minecraft runs on
Java Runtime Manifest (example)
All files you can download to get jre for target component
java-runtime-gamma
or java-runtime-delta
You can use spuz_piston along with spuz_spawner and spuz_wrench to configure and run the game process
// Read manifest from filesystem
let manifest_str = fs::read_to_string("./1.20.6.json")?;
let manifest = Manifest::from_str(&manifest_str)?;