From cda215feb46f7937048ce2c8b688f6e61263e9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Mon, 30 Dec 2013 08:53:43 -0800 Subject: [PATCH] Updated API Robot (markdown) --- API-Robot.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/API-Robot.md b/API-Robot.md index 5eb3e09..80c1332 100644 --- a/API-Robot.md +++ b/API-Robot.md @@ -2,8 +2,6 @@ This API abstracts the computer component of a robot to allow more intuitive int - `robot.level(): number` Gets the current level of the robot, with the fractional part being the percentual progress towards the next level. For example, if this is `1.5`, then the robot is level one, and 50% towards achieving level two. -- `robot.energy(): number` - Gets the remaining amount of energy in the robots internal buffer. - `robot.detect(): boolean, string` Tests if there is something in front of the robot. Returns `true` if there is something that would block the robot's movement, `false` otherwise. The second returned value specifies what it is that is in front of the robot and can be one of the following: `entity`, `solid`, `replaceable`, `liquid` and `air`. The first two will block the robots movement, the latter won't. In case of an entity it will either be some living entity, such as a player or monster, or some kind of minecart.