Skip to content

API reference / @jsprismarine/prismarine / command/host/randomSequences

command/host/randomSequences ​

Classes ​

Interfaces ​

RandomSequencesState ​

Defined in: packages/prismarine/src/command/host/randomSequences.ts:24

JSON-safe state for /random's named and unkeyed streams.

Properties ​

streams ​

readonly streams: readonly (readonly [string, RandomSequenceStreamState])[]

Defined in: packages/prismarine/src/command/host/randomSequences.ts:28

unkeyed ​

readonly unkeyed: RandomSequenceStreamState | null

Defined in: packages/prismarine/src/command/host/randomSequences.ts:27

version ​

readonly version: 1

Defined in: packages/prismarine/src/command/host/randomSequences.ts:25

worldSeed ​

readonly worldSeed: string

Defined in: packages/prismarine/src/command/host/randomSequences.ts:26

Type Aliases ​

RandomSequenceStreamState ​

RandomSequenceStreamState = readonly [seed: string, state: LootRandomState]

Defined in: packages/prismarine/src/command/host/randomSequences.ts:21

Seed and continuation state for one command sequence.