2021-02-12 02:49:54 -06:00
|
|
|
# Minecraft Pi Edition API for Rust
|
|
|
|
|
|
|
|
This project ports the MCPI API to rust!
|
2021-04-03 11:05:08 -05:00
|
|
|
|
2021-04-09 13:33:09 -05:00
|
|
|
## How to install
|
|
|
|
|
|
|
|
Simply install this by adding `mcpi_api = "0.1.1"` to your Cargo.toml
|
|
|
|
|
2021-04-03 11:05:08 -05:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
Hello world!
|
|
|
|
```rust
|
|
|
|
use mcpi_api::create;
|
|
|
|
let mut mc = create("localhost:4711");
|
|
|
|
mc.post_to_chat("Hello World!")
|
|
|
|
```
|