mcpi_dart 0.0.4

BETA RELEASE

Dart port of the MCPI interface for Minecraft.

IMPORTANT CHANGE THE IP IN main.dart TO MATCH YOUR SERVER !!!

Tested on:

  • Minecraft 1.6.4 on Bukkit Server with Raspberry Juice.
  • Raspian OS with MCPI on a Raspberry PI 2.

Have fun!

Davy Mitchell

Changelog

0.0.4

  • Rainbow demo now based around player position.

0.0.3

  • Added mine digging to demo.
  • getPos reconnects so socket response can be read each time.

0.0.2

  • Allow setting of data field so we can have color wool.

0.0.1

  • Initial version, created by Davy Mitchell

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  mcpi_dart: "^0.0.4"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:mcpi_dart/block.dart';
import 'package:mcpi_dart/mcdart.dart';
import 'package:mcpi_dart/minecraft.dart';

Platforms

About

A Minecraft library for Dart.

Author

Davy Mitchell

Homepage

goo.gl/XA0U17

Documentation

www.dartdocs.org/documentation/mcpi_dart/0.0.4/

Uploader

daftspaniel@gmail.com

License

BSD (LICENSE)

Published

Nov 25, 2015