GameSpec API allows to create Minecraft games which can run in every environment that implements the API.