Connect to MineCraft running on a Raspberry PI.

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

PublicDomain licensed by Douglas Burke (
Maintained by

The MineCraft edition for Raspberry PI comes with a Java and Python API. See Network.MineCraft.Pi.Client for a basic example.

This is a *very* basic, and *incomplete* Haskell version. I fully expect everything to change in later versions.

A number of very simple examples are included in the examples/ directory, as well as a program that lets you interact with MineCraft directly.

Please see the file in the source code for an incomplete list of possible changes, and the CHANGELOG file for changes in the module.



Updated pipes upper bound (thanks to Gabriel Gonzalez).


Renamed the change log from to CHANGELOG so
that Hackage will display it.

Minor HLint changes (no change in behavior or API).


Updated to use pipes version 4; there is no change in the
library API (pipes is only used by the hmcpi executable).


An initial attempt at handling invalid commands has been added by
flushing the connection buffer each time a command or query is sent.

Queries now raise an `IOError` if they return the message `Fail` (it
could also be due to the previous command failing if the buffer
flush mentioned above did not catch the error).

Added the debugmcpi example. This is now built, along with hmcpi,
by setting the build-debug configure option (which is turned off
by default).


The examples - apart from `hmcpi` - now accept the `--debug` command-line
option which causes the messages sent to, and received from, MineCraft
to be printed to the standard-error channel. The format of these
messages has been changed slightly.


Minor document improvements. Added examples/XJump.hs, which is the
example used in the documentation for Network.MineCraft.Pi.Client.


Initial version.
Depends on 6 packages:
Used by 1 package:
comments powered byDisqus