Psi · Mind

Operator: Vector Raycast

Gets a localized raycast's result (max 32)

Effect Preview

Operator: Vector Raycast Spell Sheet

Magic ModPsi (Psi 1.21.1-110 (NeoForge))
School / ElementMind
Magic KindGlyph
Glyph RoleOperator
Data SourcePsi-neoforge-1.21.1-110.jar::vazkii/psi/common/spell/operator/vector/PieceOperatorVectorRaycast.class

How To Use Operator: Vector Raycast

  1. Place Operator: Vector Raycast on the Spell Programmer grid beside Operator: Entity Position and Operator: Entity Look wired from Selector: Caster.
  2. Connect the starting coordinate to Position, the sight direction to Ray, and an optional Number limit (capped at 32 blocks) to Max to return the hit block's coordinates.
  3. Save the spell onto a Spell Bullet by Right-Clicking the Spell Programmer, load it in your CAD via a CAD Assembler, and Right-Click at any solid block.

Adding 1 Complexity, Vector Raycast throws a null-vector error when pointing into open sky, so add Error Catcher or Error Suppressor.

How To Get Operator: Vector Raycast

Available from the start in the Spell Programmer palette under the Tutorial 4 piece group once you build a Spell Programmer.

More Spells From Psi

All Spells →

9Minecraft Magic Updates — New magic mods, spells & Bedrock add-ons

Explore 9Minecraft Network →