[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/prismarine](https://jsprismarine.dev/api/@jsprismarine/prismarine/index.md) / command/host/randomSequences

# command/host/randomSequences

## Classes

- [RandomSequences](https://jsprismarine.dev/api/@jsprismarine/prismarine/command/host/randomSequences/classes/RandomSequences.md)

## Interfaces

### RandomSequencesState

Defined in: [packages/prismarine/src/command/host/randomSequences.ts:24](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/command/host/randomSequences.ts#L24)

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

#### Properties

##### streams

> `readonly` **streams**: readonly (readonly \[`string`, [`RandomSequenceStreamState`](#randomsequencestreamstate)\])[]

Defined in: [packages/prismarine/src/command/host/randomSequences.ts:28](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/command/host/randomSequences.ts#L28)

##### unkeyed

> `readonly` **unkeyed**: [`RandomSequenceStreamState`](#randomsequencestreamstate) \| `null`

Defined in: [packages/prismarine/src/command/host/randomSequences.ts:27](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/command/host/randomSequences.ts#L27)

##### version

> `readonly` **version**: `1`

Defined in: [packages/prismarine/src/command/host/randomSequences.ts:25](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/command/host/randomSequences.ts#L25)

##### worldSeed

> `readonly` **worldSeed**: `string`

Defined in: [packages/prismarine/src/command/host/randomSequences.ts:26](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/command/host/randomSequences.ts#L26)

## Type Aliases

### RandomSequenceStreamState

> **RandomSequenceStreamState** = readonly \[`seed`: `string`, `state`: [`LootRandomState`](https://jsprismarine.dev/api/@jsprismarine/loot/index.md#lootrandomstate)\]

Defined in: [packages/prismarine/src/command/host/randomSequences.ts:21](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/command/host/randomSequences.ts#L21)

Seed and continuation state for one command sequence.
