Psi · Mind

Operator: Closest To Point

Gets the closest entity in a list to a point

Effect Preview

Operator: Closest To Point 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/entity/PieceOperatorClosestToPoint.class

How To Use Operator: Closest To Point

  1. Drop Operator: Closest To Point onto the Spell Programmer 9x9 grid adjacent to an entity-list selector such as Selector: Nearby Enemies or Selector: Nearby Items.
  2. Connect a reference coordinate (for example Caster position or a Vector Raycast impact) into Position and wire the entity list into Target to isolate the nearest entity.
  3. Close the editor, Right-Click the Spell Programmer block holding a Spell Bullet, load the bullet in a CAD Assembler, and cast with Right-Click.

Costing 1 Complexity, this Operator throws a null-target error if the list is empty, so add Error Suppressor on automated combat bullets.

How To Get Operator: Closest To Point

Available from the start in the Spell Programmer palette as the main piece of the Entities Intro group after crafting a Spell Programmer.

More Spells From Psi

All Spells →

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

Explore 9Minecraft Network →