Loot Context (Type) — Skript

Addon: Skript · Category: Type · Since: 2.10

Syntax

lootcontext

Description

Represents additional information a loot table can use to modify its generated loot.

Some loot tables will require some values (i.e. looter, location, looted entity) in a loot context when generating loot whereas others may not. For example, the loot table of a simple dungeon chest will only require a location, whereas the loot table of a cow will require a looting player, looted entity, and location. You can find more information about this in https://minecraft.wiki/w/Loot_context

View source