Psi · Mind

Selector: Indexed Element

Selects an entity from an entity list with a given index

Effect Preview

Selector: Indexed Element 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/list/PieceOperatorListIndex.class

How To Use Selector: Indexed Element

  1. Place Selector: Indexed Element on the Spell Programmer 9x9 grid adjacent to an Entity List piece and a zero-based integer source such as Selector: Loopcast Index.
  2. Wire the entity collection into List and the index into Number (0 picks the first entity) so a single target flows into single-entity Tricks.
  3. Save the spell onto a Loopcast Spell Bullet by Right-Clicking the Spell Programmer, install it in your CAD at a CAD Assembler, and hold Right-Click to cycle targets.

Unlike standard Operators, this piece adds 2 Complexity total and throws an out-of-bounds error if Number reaches List Size, so pair it with Trick: Break Loop.

How To Get Selector: Indexed Element

Unlocked right away in the Spell Programmer menu under the List Operations piece group once a Spell Programmer is built.

More Spells From Psi

All Spells →

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

Explore 9Minecraft Network →