Skip to content

@minecraft/server


@minecraft/server / LootPoolEntry

Class: LootPoolEntry ​

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

Represents one entry within Loot Table, which describes one possible drop when a loot drop occurs. Can contain an item, another loot table, a path to another loot table, or an empty drop.

Extended by ​

Properties ​

quality ​

readonly quality: number

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

Remarks ​

Gets the quality of a given loot pool entry.


subTable? ​

readonly optional subTable?: LootPoolEntry

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

Remarks ​

Gets the subtable of a given loot pool entry.


weight ​

readonly weight: number

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

Remarks ​

Gets the weight of a given loot pool entry.