

Origin position: The position of the chest.

Loot context parameters that may be supplied Loot context parameters that are supplied Below is a list of all possible methods of invocation for a loot table/condition/function, and the parameter: Depending on the method of invocation, different parameters may be supplied to them. Loot tables, loot conditions, and loot functions all receive context parameters upon being invoked. Scale to multiply the score before returning it. score: The scoreboard objective to query on the selected player name or UUID.Use this for the invoking entity, killer for the entity that killed the invoking entity, direct_killer for the entity that directy killed the invoking entity, or player_killer to select the killer only if they are a player. Specifies an entity from loot context to query the score of. target: Included only if type is set to context.Specifies the name of the player, or the entity's UUID (in hypenated hexadecimal format) whose score to query. name: Included only if type is set to fixed.Set to context to use an entity from loot context. type: Set to fixed to manually specify a player name or UUID.target: To choose which player name or entity UUID to query.score-To query and use a scoreboard value.The probability of success on an individual trial. binomial-A random number following a binomial distribution.uniform-A random number following a uniform distribution between two values (inclusive).Recurring JSON structures within loot tables and other data pack files Predicate sequence-The child entry producers are applyed into the loot pool in sequential order, continuing until an entry producer's conditions do not met, then applying no more entry producers from the children.alternatives-Only the first successful (conditions are met) entry producer in order is applyed into the loot pool.children: The list of child entry producers.if one condition applies for multiple entries. group-All entry producers in the children list is applyed into the loot pool.empty-Adds an entry that generates nothing into the loot pool.name: Can be contents to drop block entity contents.

dynamic-For loot tables of type block only, adds an entry that generates block-specific drops.name: The resource location of the loot table to be used, e.g.loot_table-Adds another loot table as an entry into the loot pool.If false, addes an entry that generates one of every listing in the tag. expand: If set to true, adds all items as multiple entries into the loot pool, each with the specified weight and quality.name: The resource location of the item tag to query, e.g.tag-Adds all item as an entry or as multiple entries from an item tag into the loot pool.The default, if not changed by loot functions, is a stack of 1 of the default instance of the item. name: The resource location of the item to be produced, e.g.

Formula is floor(weight + (quality × ck)).
