API reference / @jsprismarine/prismarine / content/settings
content/settings
Interfaces
ContentSettings
Defined in: prismarine/src/content/settings.ts:27
What the content settings say.
Properties
datapacks
readonlydatapacks: readonlystring[]
Defined in: prismarine/src/content/settings.ts:33
Java datapack directories the world adds to the stack.
strict
readonlystrict:boolean
Defined in: prismarine/src/content/settings.ts:29
Whether a pack error stops the server.
worldPacks
readonlyworldPacks: readonlystring[]
Defined in: prismarine/src/content/settings.ts:31
Behavior pack directories the world adds to the stack.
Functions
readContentSettings()
readContentSettings():
ContentSettings
Defined in: prismarine/src/content/settings.ts:37
Reads the content settings, writing any key the file lacks.