Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Register
Advertisement
Operator: Vector Raycast

ModPsi
TypeOperator
GroupTutorial 4
Return typeVector
Complexity1
Parameters
PositionVector
RayVector
Max (optional)Number
Technical details
Registry nameoperatorVectorRaycast

Operator: Vector Raycast is a Vector Spell Piece added by Psi. It is used to extend a spell from a focal point in a given direction until it collides with a block. The maximum range it functions at is 32 blocks away from the focal point. It is unlocked in the lesson "Tutorial 4."

Parameter[]

  • Position: Requires a vector. Defines the focal point from which the spell is going to be fired from.
  • Ray: Requires a vector. Defines the direction in which the spell will be travelling.
  • Max: Optional. Requires a number. Sets a lower maximum range for the Ray.
"Psi"

"name" = ""Navbox Psi"" "state" = ""plain""


Advertisement