Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Extends
Contains additional options for an entity raycast operation.
Properties
ignoreBlockCollision
ignoreBlockCollision?: boolean;
If true, blocks will not be considered as blocks that 'stop' the raycast.
Type: boolean
includeLiquidBlocks
includeLiquidBlocks?: boolean;
If true, liquid blocks will be considered as blocks that 'stop' the raycast.
Type: boolean
includePassableBlocks
includePassableBlocks?: boolean;
If true, passable blocks like vines and flowers will be considered as blocks that 'stop' the raycast.
Type: boolean
maxDistance
maxDistance?: number;
Maximum distance, in blocks, to process the raycast.
Type: number