Documentation

Minecraft Commands

Say

// vMod.say(String);
vMod.say("Hello Minecraft!");

Placing Blocks

// vMod.setblock(locationX:String, locationY:String, locationZ:String, blockType:String, blockDataValue:String, oldBlockHandling:String, dataTag:String);
// oldBlockHandling and dataTag are optional parameters 
vMod.setblock("~", "~", "~", "minecraft:stone", "");

Summon Mobs
// vMod.summon(entityType:String, spawnLocationX:String, spawnLocationY:String, spawnLocationZ:String, dataTag:String) 
vMod.summon("minecraft:pig", "~", "~", "~", "");

Drone Commands

Declaring a Drone

var myDrone = new vMod.Drone();

Move Drone in Direction

// There are six direction in which one can move a drone: up, down, north, east, south, and west
// moveUp and moveDown
myDrone.moveUp(distance:Number);
// moveNorth, moveEast, moveSouth, moveWest
myDrone.moveNorth(distance:Number);
// Examples:
myDrone.moveUp(2); // drone moves 2 blocks up
myDrone.moveSouth(10); // drone moves 10 blocks south

Move Drone To

// myDrone.moveTo(X:String, Y:String, Z:String );
myDrone.moveTo("254", "478", "10");

Drone Places Block

// vMod.setblock(locationX:String, locationY:String, locationZ:String, blockType:String, blockDataValue:String, oldBlockHandling:String, dataTag:String);
// oldBlockHandling and dataTag are optional parameters 
myDrone.setblock("~", "~", "~", "minecraft:stone", "");

Drone Summons

// myDrone.summon(entityType:String, spawnLocationX:String, spawnLocationY:String, spawnLocationZ:String, dataTag:String) 
myDrone.summon('minecraft:cow', '~', '~', '~', "'');