API reference / @jsprismarine/prismarine / content/withheldContent
content/withheldContent
Interfaces
WithheldContent
Defined in: packages/prismarine/src/content/withheldContent.ts:17
Vanilla identifiers the content build leaves out, by registry.
Properties
blocks
readonlyblocks:ReadonlySet<string>
Defined in: packages/prismarine/src/content/withheldContent.ts:18
entities
readonlyentities:ReadonlySet<string>
Defined in: packages/prismarine/src/content/withheldContent.ts:20
items
readonlyitems:ReadonlySet<string>
Defined in: packages/prismarine/src/content/withheldContent.ts:19
Variables
NOTHING_WITHHELD
constNOTHING_WITHHELD:WithheldContent
Defined in: packages/prismarine/src/content/withheldContent.ts:24
What a server whose content is the world's own release withholds.
Functions
contentMissingAt()
contentMissingAt(
codec):WithheldContent
Defined in: packages/prismarine/src/content/withheldContent.ts:32
The vanilla content a release does not have.
Parameters
codec
The release's codec.
Returns
What a world on that release's content leaves out, or a session on it is sent a substitute for.
withheldNames()
withheldNames(
withheld):string[]
Defined in: packages/prismarine/src/content/withheldContent.ts:43
Every withheld identifier, for a log line.
Parameters
withheld
What a release lacks.
Returns
string[]
The identifiers, deduplicated and sorted.