Portability | RecordWildCards |
---|---|
Stability | experimental |
Maintainer | Douglas Burke |
Safe Haskell | None |
Internal types for connecting to the Raspberry-PI version
of MineCraft. Most users are expected to use Client
rather than this module, but it is provided in case the former
is not sufficient.
Documentation
type MCPI = ReaderT ConnInfo IOSource
Represent a program that communicates with a MineCraft PI server.
runMCPI :: MCPI a -> IO aSource
Run a Raspberry-PI program.
An exception is raised if the server is not running, or can not be contacted.