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:

$ pub get

Alternatively, your editor might support 'pub 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';

About

A Minecraft library for Dart.

Author

Email daftspaniel@gmail.com Davy Mitchell

Homepage

goo.gl/XA0U17

Documentation

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

Source code (hyperlinked)

www.crossdart.info/p/mcpi_dart/0.0.4/

Uploader

daftspaniel@gmail.com

Share