Block/waypoint: Difference between revisions

From OpenComputers: Rebooted
Jump to navigation Jump to search
m Text replacement - "Item/navigation upgrade" to "Navigation Upgrade"
m Fix link to nav upgrade component
 
Line 5: Line 5:
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 can be located using the <code>findWaypoints()</code> 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 block can be located using the <code>findWaypoints()</code> function in the [[Navigation Upgrade#Component API|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:

Latest revision as of 20:42, 15 September 2026

Waypoint

The waypoint block provides additional functionality for robots and drones with a navigation upgrade. The position of the waypoint reported is the block directly in front of the waypoint, as indicated by the particle effects. This allows the waypoint block to be placed above a chest, for instance, to be able to determine the position of the block directly above the chest.

Waypoints can be labeled and provided with a redstone signal. This allows for finer control when writing sorting programs, for instance.

The waypoint block can be located using the findWaypoints() function in the navigation component. This allows the robots or 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:

waypoint.png

Contents

Blocks
Computers Computer Case - Server Rack - Microcontrollers
Display Hologram Projector - Keyboard - Screen
Power and Networking Capacitor - Net Splitter - Power Converter - Power Distributor - Relay
Extensions Adapter - Cable - Disassembler - Disk Drive - Geolyzer - Motion Sensor - Redstone I/O - Transposer - 3D Printer
Robotics Assembler - Charger - Drone - Robot - Waypoint