This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
api:robot [2018/09/27 02:01] payonel |
api:robot [2018/09/27 02:19] payonel [Slot alignment] |
||
---|---|---|---|
Line 9: | Line 9: | ||
==== Slot alignment ==== | ==== Slot alignment ==== | ||
- | The Robot's GUI displays the slots of a robot aligned from top-left to bottom-right. So for example the slot at index 1 is displayed in the top-left corner, the slot at index 2 is the next to the right and the first slot on the 2nd row is index 5. | + | {{page>component:inventory_slots&noheader&nofooter}} |
- | + | ||
- | {{api:robot_slotalign.png}} | + | |
- | + | ||
- | How many slots a robot has available depends on it's setup. If a slot is specified in a function that exceeds the amount of slots a robot has available an error is thrown. | + | |
==== Movement ==== | ==== Movement ==== | ||
Line 200: | Line 195: | ||
- `robot.fillDown([count:number]):boolean` | - `robot.fillDown([count:number]):boolean` | ||
Like `fill`, but operates on the block below the robot. | Like `fill`, but operates on the block below the robot. | ||
- | |||
- | ===Base Methods=== | ||
- | {{page>component:agent#Robot Component API&noheader&nofooter}} | ||
- | {{page>component:agent#Agent Trait API&noheader&nofooter}} | ||
- | |||
- | ===Internal Inventory Methods=== | ||
- | {{page>component:agent#InventoryController Trait API&noheader&nofooter}} | ||
- | {{page>component:agent#TankControl Trait API&noheader&nofooter}} | ||
- | |||
- | ===External Inventory Methods=== | ||
- | {{page>component:agent#WorldControl Trait API&noheader&nofooter}} | ||
- | {{page>component:agent#TankWorldControl Trait API&noheader&nofooter}} | ||
- | {{page>component:agent#InventoryWorldController trait API&noheader&nofooter}} | ||
Contents | Contents | ||
----------- | ----------- | ||
{{page>api:contents&noheader&noeditbutton&nouser&nofooter}} | {{page>api:contents&noheader&noeditbutton&nouser&nofooter}} |