Skip to content

A Ruby API for the Raspberry Pi version of minecraft

Notifications You must be signed in to change notification settings

hassanmaher/minecraft_api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft API for the Raspberry Pi

A Ruby API for the Raspberry Pi version of minecraft

Prerequisites:

To install:

gem install minecraft_api

and in your code:

require 'minecraft_api'

# hostname should be the ip or hostname of your server.
# port defaults to 4711, but you can override it.
api = MinecraftApi.new(hostname) 
api.world.block(5,10,15,Block::WOOD)
api.player.go(20,40,60)

etc...

About

A Ruby API for the Raspberry Pi version of minecraft

Resources

Stars

Watchers

Forks

Packages

No packages published