Module pick

Source

Structs§

HitResultComponent
A component that contains the block or entity that the player is currently looking at.
PickOpts

Functions§

pick
Get the block or entity that a player would be looking at if their eyes were at the given direction and position.
pick_block
Get the block that a player would be looking at if their eyes were at the given direction and position.
update_hit_result_component

Type Aliases§

PickableEntityQuery