java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<org.bukkit.entity.Player>
ch.njol.skript.expressions.base.PropertyExpression<org.bukkit.loot.LootContext,org.bukkit.entity.Player>
ch.njol.skript.expressions.base.SimplePropertyExpression<org.bukkit.loot.LootContext,org.bukkit.entity.Player>
org.skriptlang.skript.bukkit.loottables.elements.expressions.ExprLootContextLooter
All Implemented Interfaces:
Debuggable, Expression<org.bukkit.entity.Player>, Loopable<org.bukkit.entity.Player>, SyntaxElement, Converter<org.bukkit.loot.LootContext,org.bukkit.entity.Player>, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Looter of Loot Context") @Description("Returns the looter of a loot context. Note that setting the looter will read the looter\'s tool enchantments (e.g. looting) when generating loot.") @Examples({"set {_killer} to looter of {_context}","","set {_context} to a loot context at player:","\tset loot luck value to 10","\tset looter to player","\tset looted entity to last spawned pig"}) @Since("2.10") public class ExprLootContextLooter extends ch.njol.skript.expressions.base.SimplePropertyExpression<org.bukkit.loot.LootContext,org.bukkit.entity.Player>
  • Constructor Details

    • ExprLootContextLooter

      public ExprLootContextLooter()
  • Method Details