Useful data types. The block types should probably move to Data.MineCraft.Pi.Block.
Represent the position of an entity. Note that we use
(X,Y,Z) order rather than
(X,Z,Y) used by the MineCraft API.
This *should* be replaced by one of the "standard" Haskell 3D vector types.
Represent a block.
We should probably combine
I have not looked to see whether it is worth using
an integer (as I currently do) or just an enumerated
type (e.g. if there are large ranges of the range 0 to 1023
that do not represent a valid block).
showBlock for a more readable
way to convert to a