Skip to content

@minecraft/server


@minecraft/server / LootTableReference

Class: LootTableReference ​

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

Represents a loot pool entry containing a reference to another loot table, described by its path.

Extends ​

Properties ​

path ​

readonly path: string

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

Remarks ​

The path to the referenced loot table. Example: loot_tables/chests/village/village_bundle.json


quality ​

readonly quality: number

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

Remarks ​

Gets the quality of a given loot pool entry.

Inherited from ​

LootPoolEntry.quality


subTable? ​

readonly optional subTable?: LootPoolEntry

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

Remarks ​

Gets the subtable of a given loot pool entry.

Inherited from ​

LootPoolEntry.subTable


weight ​

readonly weight: number

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

Remarks ​

Gets the weight of a given loot pool entry.

Inherited from ​

LootPoolEntry.weight