For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/LootTableReference.md.

Class: LootTableReference

Beta

表示包含对另一个战利品表(由其路径描述)的引用的战利品池条目。

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

Extends

Properties

path

readonly path: string

Beta

Remarks

引用的战利品表的路径。示例:loot_tables/chests/village/village_bundle.json

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


quality

readonly quality: number

Beta

Remarks

获取给定战利品池条目的品质。

Gets the quality of a given loot pool entry.

Inherited from

LootPoolEntry.quality


subTable?

readonly optional subTable?: LootPoolEntry

Beta

Remarks

获取给定战利品池条目的子表。

Gets the subtable of a given loot pool entry.

Inherited from

LootPoolEntry.subTable


weight

readonly weight: number

Beta

Remarks

获取给定战利品池条目的权重。

Gets the weight of a given loot pool entry.

Inherited from

LootPoolEntry.weight