[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/prismarine](https://jsprismarine.dev/api/@jsprismarine/prismarine/index.md) / world/providers/BaseProvider

# world/providers/BaseProvider

## Classes

- [BaseProvider](https://jsprismarine.dev/api/@jsprismarine/prismarine/world/providers/BaseProvider/classes/BaseProvider.md)

## Type Aliases

### EntitySource

> **EntitySource** = (`dimension`) => `Iterable`\<[`StoreActor`](https://jsprismarine.dev/api/@jsprismarine/prismarine/entity/data/storeActors/classes/StoreActor.md)\>

Defined in: [packages/prismarine/src/world/providers/BaseProvider.ts:34](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/world/providers/BaseProvider.ts#L34)

Answers the live entities of one dimension when a provider writes a chunk there.

The provider serves every dimension of a save, so it cannot read one world's entity list;
whoever owns the worlds hands it this instead.

#### Parameters

##### dimension

[`DimensionType`](https://jsprismarine.dev/api/@jsprismarine/prismarine/world/DimensionType/index.md#dimensiontype)

#### Returns

`Iterable`\<[`StoreActor`](https://jsprismarine.dev/api/@jsprismarine/prismarine/entity/data/storeActors/classes/StoreActor.md)\>

***

### SaveIdentity

> **SaveIdentity** = `Pick`\<[`Level`](https://jsprismarine.dev/api/@jsprismarine/prismarine/world/Level/classes/Level.md), `"name"` \| `"seed"`\>

Defined in: [packages/prismarine/src/world/providers/BaseProvider.ts:24](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/world/providers/BaseProvider.ts#L24)

What a format needs to know about its save to open it: the name and the seed of the level.
