mcpi_dart 0.0.4

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 30

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

Use this package as a library

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 flutter 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';
  
Version Uploaded Documentation Archive
0.0.4 Nov 25, 2015 Go to the documentation of mcpi_dart 0.0.4 Download mcpi_dart 0.0.4 archive
0.0.3 Nov 11, 2015 Go to the documentation of mcpi_dart 0.0.3 Download mcpi_dart 0.0.3 archive
0.0.2 Nov 4, 2015 Go to the documentation of mcpi_dart 0.0.2 Download mcpi_dart 0.0.2 archive

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
100 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
30
Learn more about scoring.

Platforms

Detected platforms: Flutter, other

Platform components identified in package: io.

Suggestions

  • Package is too old.

    The package was released more than two years ago.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use mcpi_dart.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0