EntityRaycastOptions Interface
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
Caution
This property is still in pre-release. Its signature may change or it may be removed in future releases.
includeLiquidBlocks
includeLiquidBlocks?: boolean;
If true, liquid blocks will be considered as blocks that 'stop' the raycast.
Type: boolean
Caution
This property is still in pre-release. Its signature may change or it may be removed in future releases.
includePassableBlocks
includePassableBlocks?: boolean;
If true, passable blocks like vines and flowers will be considered as blocks that 'stop' the raycast.
Type: boolean
Caution
This property is still in pre-release. Its signature may change or it may be removed in future releases.
maxDistance
maxDistance?: number;
Maximum distance, in blocks, to process the raycast.
Type: number
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for