Update README.md

master
blackfur 2021-04-03 18:05:08 +02:00 committed by GitHub
parent 704bfd88be
commit bedb1e04b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
# Minecraft Pi Edition API for 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!")
```