Psi · Mind

Operator: List Size

Gets the number of entities in a list

Effect Preview

Operator: List Size 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/PieceOperatorListSize.class

How To Use Operator: List Size

  1. Add Operator: List Size onto the Spell Programmer grid beside any Entity List output such as Selector: Nearby Enemies, Nearby Items, or Nearby Projectiles.
  2. Wire that Entity List into its List input so it returns the exact entity count as a Number (0 when no matching entities are nearby).
  3. Imprint the spell onto a Spell Bullet for your Psimetal Exosuit or CAD by Right-Clicking the Spell Programmer, mount it at a CAD Assembler, and activate it.

Costing 1 Complexity, feeding List Size straight into Trick: Die aborts automated spells cleanly whenever zero targets are present, saving Psi energy.

How To Get Operator: List Size

Available from the start inside the Spell Programmer palette under the List Operations group once you place a Spell Programmer.

More Spells From Psi

All Spells →

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

Explore 9Minecraft Network →