This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
block:waypoint [2015/05/10 22:35] rashy |
block:waypoint [2015/05/12 21:50] (current) rashy |
||
---|---|---|---|
Line 6: | Line 6: | ||
Waypoints can be labeled and provided with a redstone signal. This allows for finer control when writing sorting programs, for instance. | Waypoints can be labeled and provided with a redstone signal. This allows for finer control when writing sorting programs, for instance. | ||
- | The waypoint block provides the `findWaypoints()` function to the [[component:navigation|navigation]] component. This allows the [[block:robot|robots]] or [[item:drone|drone]] to find all waypoints within a certain range; the function returns the label of the waypoint, the position of the waypoint in relative coordinates, as well as the redstone level of the waypoint. | + | The waypoint block can be located using the `findWaypoints()` function in the [[component:navigation|navigation]] component. This allows the [[block:robot|robots]] or [[item:drone|drone]] to find all waypoints within a certain range; the function returns the label of the waypoint, the position of the waypoint in relative coordinates, as well as the redstone level of the waypoint. |
The Waypoint is crafted using the following recipe: | The Waypoint is crafted using the following recipe: |