Package: craft 0.3.6

craft: Extra Functions to Control Minecraft with RaspberryJuice API

Extra functions to illustrate the use of the miner package to control Minecraft with the RaspberryJuice API.

Authors:Karl Broman [aut, cre], Brooke Anderson [aut], Gergely Daróczi [aut], Ali Zaidi [aut], Mario Inchiosa [aut], David Smith [aut], Felix Ling [aut]

craft_0.3.6.tar.gz
craft_0.3.6.zip(r-4.7)craft_0.3.6.zip(r-4.6)craft_0.3.6.zip(r-4.5)
craft_0.3.6.tgz(r-4.6-any)craft_0.3.6.tgz(r-4.5-any)
craft_0.3.6.tar.gz(r-4.7-any)craft_0.3.6.tar.gz(r-4.6-any)
craft_0.3.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
craft/json (API)
NEWS

# Install 'craft' in R:
install.packages('craft', repos = c('https://kbroman.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kbroman/craft/issues

Datasets:

On CRAN:

Conda:

4.64 score 11 stars 6 scripts 40 exports 57 dependencies

Last updated from:132b006deb. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK144
source / vignettesOK204
linux-release-x86_64OK141
macos-release-arm64OK102
macos-oldrel-arm64OK129
windows-develOK318
windows-releaseOK217
windows-oldrelOK331
wasm-releaseOK138

Exports:buildBuildingbuildDoorbuildFencebuildRlogobuildStairsclearSpacecubede_elsafydrawLineelsafyfind_itemsgetBlocksVgetBlockVgetHeadinggetPlayerCompassice_towersinitHeadinglookForwardmc_clearplotmc_mazemc_mazermc_plotmc_racemc_Revalmc_whoamimoveForwardnum_guesssetBlocksMixsetBlocksMixVsetBlocksStylesetBlocksStyleVsetBlocksVsetBlockVsetHeadingsetPlayerDirectionVsetPlayerPosVsphereturnLeftwhereamiwrite_text

Dependencies:base64encbmpbslibcachemclicommonmarkcpp11digestdownloaderfarverfastmapfontawesomefsggplot2gluegtablehtmltoolshttpuvigraphimagerisobandjpegjquerylibjsonlitelabelinglaterlatticelifecyclemagrittrMatrixmemoisemimeminerotelpkgconfigpngpromisespurrrR6rappdirsRColorBrewerRcppreadbitmaprlangRmazeS7sassscalesshinysourcetoolsstringistringrtiffvctrsviridisLitewithrxtable

Extra functions to control Minecraft

Rendered fromcraft.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2026-05-22
Started: 2026-05-14

Readme and manuals

Help Manual

Help pageTopics
Build a buildingbuildBuilding
Builds a doorbuildDoor
Build a fence around a square areabuildFence
Render R logo in minecraftbuildRlogo
Builds stairsbuildStairs
Clear out a cube around a playerclearSpace
Make a cubecube
Give a player reverse Elsa powersde_elsafy
Draws a linedrawLine
Give a player Elsa powerselsafy
Find multiple items by name or ID/stylefind_items
Font set datafont_sets
getBlocks but taking vector positionsgetBlocksV
getBlock but taking a vector positiongetBlockV
Get player headinggetHeading
Get player's rotation as compass bearinggetPlayerCompass
Make a random ice tower at hit locationsice_towers
Set player heading to match the direction the player is facinginitHeading
Check the block type (if any) ahead of the playerlookForward
Clear scatterplotmc_clearplot
Generates a maze in front of a playermc_maze
Poll the chat window for maze generator commands and spawn mazes right in front of the playermc_mazer
Scatterplot within Minecraftmc_plot
Determine who is fastestmc_race
Evaluate R within Minecraftmc_Reval
Listen for "Who am I"mc_whoami
Move the player in the direction of the player headingmoveForward
Guess a number gamenum_guess
R logo dataRlogo
Place a random mixture of blocks in a cuboidsetBlocksMix
setBlocksMix but taking vector positionssetBlocksMixV
Place blocks in a cuboidsetBlocksStyle
setBlocksStyle but taking vector positionssetBlocksStyleV
setBlocks but taking vector positionssetBlocksV
setBlock but taking a vector positionsetBlockV
Set player headingsetHeading
setPlayerDirection but taking a vector of positionssetPlayerDirectionV
setPlayerPos but taking a vector of positionssetPlayerPosV
Make a spheresphere
Rotate the player heading to the leftturnLeft
Get rounded player positionwhereami
Write text in minecraftwrite_text