Find a file
blackfur cb6c0e8f0e Added entity methods
Added entity struct + related methods, also added a test file for all entity methods
2021-04-16 11:16:32 +02:00
.github/workflows Update rust.yml 2021-03-04 13:05:21 +01:00
src Added entity methods 2021-04-16 11:16:32 +02:00
tests Added entity methods 2021-04-16 11:16:32 +02:00
.gitignore Added .vscode to .gitignore, renamed Player function names, added setting function to Player 2021-03-26 17:46:02 +01:00
Cargo.toml Added documentation and bumped the version to 0.1.1 2021-04-05 19:11:54 +02:00
README.md Added installation advice 2021-04-09 20:33:09 +02:00

Minecraft Pi Edition API for Rust

This project ports the MCPI API to rust!

How to install

Simply install this by adding mcpi_api = "0.1.1" to your Cargo.toml

Examples

Hello world!

use mcpi_api::create;
let mut  mc = create("localhost:4711");
mc.post_to_chat("Hello World!")