Skip to content
forked from kbroman/miner

R package for controlling Minecraft via API

License

Notifications You must be signed in to change notification settings

field-animal/miner

 
 

Repository files navigation

miner

Travis-CI Build Status

Following the python module py3minepi, this is an R package that allows connection to the Minecraft API using RaspberryJuice and either Spigot or Minecraft:Pi.

The miner package provides a few simple functions to manipulate the Minecraft world from R. See the vignette for details on setting up a Minecraft server and using this package.

The intent of this package is to encourage new R users to learn R by writing scripts to do fun things in Minecraft. (See the extra_vignettes folder for details.) For example, with these functions you could:

Write words on a hillside:

Render a photograph as a wall of blocks:

Or the R logo:

Generate a random maze in R, and create it in the world for players to explore:

This player is operated by a bot trying to find its way out of the maze via a rule-based algorithm:

Give the player the powers of Elsa:

Freeze water as you run over it

or create towers of ice with a gesture:

Write a bot to play a game with players over chat:

.

And, of course, make ggplot plots in Minecraft:

About this package

This package was created as part of the ROpenSci unconference in May, 2017 by:

License

Licensed under the MIT license. (More information here.)

About

R package for controlling Minecraft via API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 99.4%
  • Makefile 0.6%