Search This Blog

Tuesday, 29 April 2014

MinecraftOven API Documentation

MinecraftOven API Documentation

Event.py

 getHit(mc):

Returns the HitPos, then the EntityID of the player who caused the event, and then the ID of the block hit.

clear(mc):

Clears all events.

General.py

saveworld(mc):

Saves a checkpoint of the world.

loadworld(mc):

Restores a checkpoint of the world.

msg(msg, mc):

Makes a message appear in the chat window.

set_immutable(state, mc):

Makes the world immutable according to the state.

Multiplayer.py

togglenames(mc, state):

Toggles nametag visibility.

Player.py

getPos(mc):

Returns the player's position.

setPos(mc):

Sets the position of the player.