[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/prismarine](https://jsprismarine.dev/api/@jsprismarine/prismarine/index.md) / content/ServerContent

# content/ServerContent

## Interfaces

### ServerContent

Defined in: [packages/prismarine/src/content/ServerContent.ts:147](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L147)

Every content registry the server runs on.

Built once at startup and replaced whole by a reload. Hold a key or a
`Holder`, never a numeric id: ids are positional and a rebuild renumbers
them from zero.

#### Properties

##### advancements

> `readonly` **advancements**: [`AdvancementEngine`](https://jsprismarine.dev/api/@jsprismarine/advancements/classes/AdvancementEngine.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:195](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L195)

Java's advancements, with their trigger graph built.

##### biomes

> `readonly` **biomes**: [`Registry`](https://jsprismarine.dev/api/@jsprismarine/content/classes/Registry.md)\<[`Definition`](https://jsprismarine.dev/api/@jsprismarine/packs/index.md#definition)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:211](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L211)

Bedrock's biome definitions, unparsed, keyed by identifier.

##### blocks

> `readonly` **blocks**: [`ServerContentBlocks`](#servercontentblocks-1)

Defined in: [packages/prismarine/src/content/ServerContent.ts:165](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L165)

##### blockTransformers

> `readonly` **blockTransformers**: [`BlockTransformerRegistry`](https://jsprismarine.dev/api/@jsprismarine/prismarine/item/blockTransformers/index.md#blocktransformerregistry)

Defined in: [packages/prismarine/src/content/ServerContent.ts:201](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L201)

Java's `block_transformer` registry: what an axe strips, a shovel paths and a hoe tills.

##### contentFingerprint

> `readonly` **contentFingerprint**: `string`

Defined in: [packages/prismarine/src/content/ServerContent.ts:149](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L149)

SHA-256 of the effective definition files and built-in content tables used by this build.

##### definitions

> `readonly` **definitions**: [`Definitions`](https://jsprismarine.dev/api/@jsprismarine/packs/index.md#definitions-1)

Defined in: [packages/prismarine/src/content/ServerContent.ts:160](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L160)

The composed pack stack, before any domain resolved it.

##### diagnostics

> `readonly` **diagnostics**: readonly [`Diagnostic`](https://jsprismarine.dev/api/@jsprismarine/content/index.md#diagnostic)[]

Defined in: [packages/prismarine/src/content/ServerContent.ts:162](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L162)

Everything the load and every resolve reported, in build order.

##### enchantments

> `readonly` **enchantments**: [`EnchantmentRegistry`](https://jsprismarine.dev/api/@jsprismarine/enchantments/classes/EnchantmentRegistry.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:197](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L197)

Java's enchantments and their effect components.

##### entities

> `readonly` **entities**: [`ServerContentEntities`](#servercontententities-1)

Defined in: [packages/prismarine/src/content/ServerContent.ts:167](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L167)

##### equipmentDifficulty

> `readonly` **equipmentDifficulty**: [`RegionalDifficultyView`](https://jsprismarine.dev/api/@jsprismarine/prismarine/entity/regionalDifficulty/classes/RegionalDifficultyView.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:193](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L193)

The difficulty [ServerContent.equipmentLoot](#equipmentloot)'s `random_regional_difficulty_chance`
and `random_difficulty_chance` read. A spawn roll sets the place it rolls for through
[RegionalDifficultyView.during](https://jsprismarine.dev/api/@jsprismarine/prismarine/entity/regionalDifficulty/classes/RegionalDifficultyView.md#during); any other roll sees normal difficulty in a fully
ramped region.

##### equipmentLoot

> `readonly` **equipmentLoot**: [`LootRegistry`](https://jsprismarine.dev/api/@jsprismarine/loot/classes/LootRegistry.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:186](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L186)

Bedrock's loot tables, compiled on first roll, which is what a mob
spawns holding: `minecraft:equipment.table` names one of these.

Separate from [ServerContent.loot](#loot) because a registry reads one
dialect, and these are the behavior pack's own files rather than a
datapack's.

##### featureRules

> `readonly` **featureRules**: [`Registry`](https://jsprismarine.dev/api/@jsprismarine/content/classes/Registry.md)\<[`Definition`](https://jsprismarine.dev/api/@jsprismarine/packs/index.md#definition)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:215](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L215)

Bedrock's feature rules, unparsed, keyed by identifier.

##### features

> `readonly` **features**: [`Registry`](https://jsprismarine.dev/api/@jsprismarine/content/classes/Registry.md)\<[`Definition`](https://jsprismarine.dev/api/@jsprismarine/packs/index.md#definition)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:213](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L213)

Bedrock's feature definitions, unparsed, keyed by identifier.

##### items

> `readonly` **items**: [`ServerContentItems`](#servercontentitems-1)

Defined in: [packages/prismarine/src/content/ServerContent.ts:166](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L166)

##### javaTarget

> `readonly` **javaTarget**: [`JavaDataTarget`](https://jsprismarine.dev/api/@jsprismarine/packs/index.md#javadatatarget)

Defined in: [packages/prismarine/src/content/ServerContent.ts:158](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L158)

The Java release the stack's datapacks were loaded for. A level records its data version in
`level.dat` and refuses to open under an older one.

##### loot

> `readonly` **loot**: [`LootRegistry`](https://jsprismarine.dev/api/@jsprismarine/loot/classes/LootRegistry.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:177](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L177)

Java's loot tables, compiled on first roll.

##### materialReductions

> `readonly` **materialReductions**: readonly `MaterialReduction`[]

Defined in: [packages/prismarine/src/content/ServerContent.ts:175](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L175)

The behavior packs' material reduction recipes, in Bedrock's own item names. They break an
item into Education Edition elements, which Java has no items for, so they stay out of
[recipes](#recipes) and only the crafting packet carries them.

##### recipes

> `readonly` **recipes**: [`RecipeBook`](https://jsprismarine.dev/api/@jsprismarine/recipes/index.md#recipebook)

Defined in: [packages/prismarine/src/content/ServerContent.ts:169](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L169)

Java's recipe grammar, with net ids assigned in registry order.

##### scriptComponents?

> `readonly` `optional` **scriptComponents?**: [`ScriptComponentBridge`](https://jsprismarine.dev/api/@jsprismarine/prismarine/scripting/scriptComponents/classes/ScriptComponentBridge.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:207](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L207)

Where the custom components the content's blocks and items name send their hooks, which
behavior pack scripts bind once they have registered the components. Absent in content
built without it, which raises no such hook.

##### spawnRules

> `readonly` **spawnRules**: readonly [`SpawnRule`](https://jsprismarine.dev/api/@jsprismarine/spawning/index.md#spawnrule)[]

Defined in: [packages/prismarine/src/content/ServerContent.ts:199](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L199)

Bedrock's spawn rules, one per parsed `spawn_rules/` file.

##### strict

> `readonly` **strict**: `boolean`

Defined in: [packages/prismarine/src/content/ServerContent.ts:151](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L151)

Whether invalid content made the build fail instead of being reported as diagnostics.

##### structures

> `readonly` **structures**: [`Registry`](https://jsprismarine.dev/api/@jsprismarine/content/classes/Registry.md)\<[`Definition`](https://jsprismarine.dev/api/@jsprismarine/packs/index.md#definition)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:224](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L224)

Structure definitions, unparsed.

Empty for now: the templates are NBT rather than JSON and
`@jsprismarine/packs` routes no structure registry yet, so the world
subsystem reads them itself. The registry is declared so the seam does
not move once it does.

##### tags

> `readonly` **tags**: [`ContentTags`](https://jsprismarine.dev/api/@jsprismarine/prismarine/content/tags/index.md#contenttags)

Defined in: [packages/prismarine/src/content/ServerContent.ts:226](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L226)

Every tag file in the stack, merged by Java Edition's rule and split by tagged registry.

##### tradeTables

> `readonly` **tradeTables**: `ReadonlyMap`\<`string`, [`TradeTable`](https://jsprismarine.dev/api/@jsprismarine/trading/index.md#tradetable)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:209](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L209)

Bedrock's trade tables, keyed by the pack-relative path a villager names.

##### withheld

> `readonly` **withheld**: [`WithheldContent`](https://jsprismarine.dev/api/@jsprismarine/prismarine/content/withheldContent/index.md#withheldcontent)

Defined in: [packages/prismarine/src/content/ServerContent.ts:153](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L153)

The vanilla content the build left out, because `protocol-content` holds the world to an older release.

##### world

> `readonly` **world**: [`ContentWorldViews`](https://jsprismarine.dev/api/@jsprismarine/prismarine/content/world/views/index.md#contentworldviews)

Defined in: [packages/prismarine/src/content/ServerContent.ts:164](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L164)

The nine world interfaces the content packages were built against.

***

### ServerContentBlocks

Defined in: [packages/prismarine/src/content/ServerContent.ts:92](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L92)

The resolved block domain.

#### Properties

##### behaviors

> `readonly` **behaviors**: [`BehaviorRegistry`](https://jsprismarine.dev/api/@jsprismarine/content/classes/BehaviorRegistry.md)\<[`BlockHooks`](https://jsprismarine.dev/api/@jsprismarine/blocks/index.md#blockhooks)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:102](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L102)

The 49 vanilla behavior families, plus whatever a plugin added before the build.

##### palette

> `readonly` **palette**: [`BlockPalette`](https://jsprismarine.dev/api/@jsprismarine/blocks/classes/BlockPalette.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:94](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L94)

The dense runtime id per state, which indexes [ServerContentBlocks.table](#table).

##### states

> `readonly` **states**: readonly [`BlockState`](https://jsprismarine.dev/api/@jsprismarine/blocks/index.md#blockstate)[]

Defined in: [packages/prismarine/src/content/ServerContent.ts:98](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L98)

One entry per palette state, in runtime id order.

##### table

> `readonly` **table**: [`BlockTable`](https://jsprismarine.dev/api/@jsprismarine/blocks/index.md#blocktable)

Defined in: [packages/prismarine/src/content/ServerContent.ts:100](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L100)

The flattened hot columns, each a typed array indexed by runtime id.

##### types

> `readonly` **types**: `ReadonlyMap`\<`string`, [`BlockType`](https://jsprismarine.dev/api/@jsprismarine/blocks/index.md#blocktype)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:96](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L96)

One resolved type per block identifier.

***

### ServerContentEntities

Defined in: [packages/prismarine/src/content/ServerContent.ts:120](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L120)

The resolved entity domain.

#### Properties

##### brains

> `readonly` **brains**: [`BrainMobRegistry`](https://jsprismarine.dev/api/@jsprismarine/entity-brains/classes/BrainMobRegistry.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:128](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L128)

The twenty Java brain mobs, whose behavior has no data form in either edition.

##### components

> `readonly` **components**: [`EntityComponentRegistry`](https://jsprismarine.dev/api/@jsprismarine/entities/index.md#entitycomponentregistry)

Defined in: [packages/prismarine/src/content/ServerContent.ts:126](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L126)

The component registry, with all 170 goals registered ahead of the reference components.

##### javaNavigation?

> `readonly` `optional` **javaNavigation?**: `Readonly`\<`Record`\<`string`, [`JavaEntityNavigation`](https://jsprismarine.dev/api/@jsprismarine/entities/index.md#javaentitynavigation)\>\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:132](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L132)

Java's navigation classes, path costs, and pushability for each mob.

##### javaStats?

> `readonly` `optional` **javaStats?**: `Readonly`\<`Record`\<`string`, [`JavaEntityStats`](https://jsprismarine.dev/api/@jsprismarine/entities/index.md#javaentitystats)\>\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:130](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L130)

Java's attribute suppliers for the stats the server decides.

##### packData?

> `readonly` `optional` **packData?**: `ReadonlyMap`\<`string`, `unknown`\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:137](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L137)

Each entity file as its pack wrote it, before the Java overlays, by identifier: what a
script's entity components read, as on a Bedrock Dedicated Server.

##### registry

> `readonly` **registry**: [`Registry`](https://jsprismarine.dev/api/@jsprismarine/content/classes/Registry.md)\<[`EntityType`](https://jsprismarine.dev/api/@jsprismarine/entities/index.md#entitytype)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:122](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L122)

The registry, with a dense id per entity identifier.

##### types

> `readonly` **types**: [`EntityTypes`](https://jsprismarine.dev/api/@jsprismarine/entities/classes/EntityTypes.md)

Defined in: [packages/prismarine/src/content/ServerContent.ts:124](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L124)

The loaded types, which also spawn instances.

***

### ServerContentItems

Defined in: [packages/prismarine/src/content/ServerContent.ts:106](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L106)

The resolved item domain.

#### Properties

##### behaviors

> `readonly` **behaviors**: [`BehaviorRegistry`](https://jsprismarine.dev/api/@jsprismarine/content/classes/BehaviorRegistry.md)\<[`ItemHooks`](https://jsprismarine.dev/api/@jsprismarine/items/index.md#itemhooks)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:116](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L116)

The 47 vanilla behavior families.

##### facts

> `readonly` **facts**: [`ItemFacts`](https://jsprismarine.dev/api/@jsprismarine/items/index.md#itemfacts)

Defined in: [packages/prismarine/src/content/ServerContent.ts:114](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L114)

The flattened hot columns, each a typed array indexed by the registry id.

##### registry

> `readonly` **registry**: [`ItemRegistry`](https://jsprismarine.dev/api/@jsprismarine/items/index.md#itemregistry)

Defined in: [packages/prismarine/src/content/ServerContent.ts:108](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L108)

The registry, with a dense id per item identifier.

##### tags

> `readonly` **tags**: [`BedrockItemTags`](https://jsprismarine.dev/api/@jsprismarine/items/index.md#bedrockitemtags)

Defined in: [packages/prismarine/src/content/ServerContent.ts:112](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L112)

Bedrock tags from the captured catalog and loaded item definitions.

##### types

> `readonly` **types**: `ReadonlyMap`\<`string`, [`ItemType`](https://jsprismarine.dev/api/@jsprismarine/items/index.md#itemtype)\>

Defined in: [packages/prismarine/src/content/ServerContent.ts:110](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L110)

One resolved type per item identifier.

## Functions

### buildServerContent()

> **buildServerContent**(`options?`): [`ServerContent`](#servercontent)

Defined in: [packages/prismarine/src/content/ServerContent.ts:365](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L365)

Builds every content registry from a pack stack.

The order is forced by what each step needs. The behavior families are
registered before their domain resolves, because resolution attaches them;
the item factory is deferred and bound afterwards, because the families
are registered before the item registry they build stacks from exists; and
the goals are registered before the reference entity components, because
the component registration skips names that are already taken and the
goals are the implementations the server wants.

#### Parameters

##### options?

[`ContentOptions`](https://jsprismarine.dev/api/@jsprismarine/prismarine/content/ContentOptions/index.md#contentoptions) = `{}`

#### Returns

[`ServerContent`](#servercontent)

#### Throws

In strict mode, when
  the pack stack reports an error.

#### Throws

In strict
  mode, when a Java identifier the stack references has no Bedrock mapping
  and no reviewed loss entry.

#### Throws

In strict mode,
  when a block definition does not resolve.

#### Throws

In strict mode, when
  a loot table carries grammar this server has no reviewed entry for.

***

### rebindServerContentSeed()

> **rebindServerContentSeed**(`snapshot`, `seed`): [`ServerContent`](#servercontent)

Defined in: [packages/prismarine/src/content/ServerContent.ts:734](https://github.com/JSPrismarine/JSPrismarine/blob/e928b08f56694af6821b757ce6b196faebd3199c/packages/prismarine/src/content/ServerContent.ts#L734)

Rebinds the seed-dependent loot streams on a snapshot of the resolved content registries.

Blocks, items, entities, recipes, behaviors, and world views stay shared with the snapshot.
Loot registries are rebuilt because their named random streams are keyed by the current world
seed; compiling them here also preserves strict validation before the server starts.

#### Parameters

##### snapshot

[`ServerContent`](#servercontent)

Resolved content captured with a rebindable world source.

##### seed

`bigint`

The seed used for this server's loot sequences.

#### Returns

[`ServerContent`](#servercontent)

A content object that reuses the snapshot registries and owns fresh loot streams.
