This repository is a rust library to access minecraft data. The data itself hosted in the minecraft-data repository and included into the library at compile time.
```rust use std::collections::HashMap; use minecraftdatars::Api; use minecraftdatars::models::food::Food; use minecraftdatars::models::version::Version;
// create an api wrapper for the latest stable version
let api = Api::latest().expect("failed to retrieve latest version");
let food: Vec
for food in food { println!("When eating {} you gain {} food points", food.name, food.food_points); } ```
This project is Licensed under MIT.