0.0.5 • Published 8 years ago

minecraft-pi-vec3 v0.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

minecraft-pi

minecraft-pi allows you to control a Minecraft: Pi Edition server from Node.js, using the Vec3 library for Position calculation.

Usage

var Minecraft = require('minecraft-pi');
var client = new Minecraft('localhost', 4711, function() {
	// Use the client variable to play with the server!
	client.chat('Yo dawg, I heard you like Node.js, so I put some Node.js in your Pi so you can Node.js while you Pi.');
	client.setBlock(v(3, 14, 15), client.blocks['DIAMOND_BLOCK']);
});

Documentation

[sudo] npm install -g docco
docco lib/minecraft.js
open docs/minecraft.html
0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.0

10 years ago