Psi · Mind

Operator: Random

Random between 0 and the given number (exclusive)

Effect Preview

Operator: Random 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/number/PieceOperatorRandom.class

How To Use Operator: Random

  1. Place Operator: Random on the Spell Programmer grid adjacent to a positive integer Constant: Number for the exclusive upper limit and an optional lower bound.
  2. Wire the upper limit into Max and optionally wire a lower integer into Min (defaulting to 0 when unwired) to roll a random whole number from Min up to Max minus
  3. 3. Imprint the spell onto a Spell Bullet by Right-Clicking the Spell Programmer, load it into your CAD at a CAD Assembler, and cast repeatedly.

Adding 1 Complexity, Random throws a negative-number error whenever Max is less than or equal to Min, so keep Max strictly higher.

How To Get Operator: Random

Available immediately inside the Spell Programmer palette under the Elemental Arts piece group once you craft a Spell Programmer.

More Spells From Psi

All Spells →

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

Explore 9Minecraft Network →