API reference / @jsprismarine/prismarine / world/providers/BaseProvider
world/providers/BaseProvider
Classes
Type Aliases
EntitySource
EntitySource = (
dimension) =>Iterable<StoreActor>
Defined in: packages/prismarine/src/world/providers/BaseProvider.ts:34
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
Returns
Iterable<StoreActor>
SaveIdentity
SaveIdentity =
Pick<Level,"name"|"seed">
Defined in: packages/prismarine/src/world/providers/BaseProvider.ts:24
What a format needs to know about its save to open it: the name and the seed of the level.