Loot Location of Loot Context (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.10

Syntax

[the] loot[ing] [context] location [of %lootcontexts%]

Description

Returns the loot location of a loot context.

Examples

set {_player} to player
set {_context} to a loot context at player:
	if {_player} is in "world_nether":
		set loot location to location of last spawned pig
send loot location of {_context} to player

View source