Update README.md
This commit is contained in:
parent
628370aa62
commit
4f7d46f070
|
@ -1,3 +1,12 @@
|
||||||
# Minecraft Pi Edition API for Rust
|
# Minecraft Pi Edition API for Rust
|
||||||
|
|
||||||
This project ports the MCPI API to rust!
|
This project ports the MCPI API to rust!
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
Hello world!
|
||||||
|
```rust
|
||||||
|
use mcpi_api::create;
|
||||||
|
let mut mc = create("localhost:4711");
|
||||||
|
mc.post_to_chat("Hello World!")
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue