Skip to content

@minecraft/server


@minecraft/server / FillContainerFunction

Class: FillContainerFunction ​

Defined in: @minecraft/server/index.d.ts:13045

Loot item function that populates a dropped container item using another loot table.

Extends ​

Properties ​

conditions ​

readonly conditions: LootItemCondition[]

Defined in: @minecraft/server/index.d.ts:15793

Inherited from ​

LootItemFunction.conditions


lootTable ​

readonly lootTable: string

Defined in: @minecraft/server/index.d.ts:13053

Remarks ​

The path to the loot table with which the container will be filled.