Class ExprLootContext
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<org.bukkit.loot.LootContext>
ch.njol.skript.expressions.base.EventValueExpression<org.bukkit.loot.LootContext>
org.skriptlang.skript.bukkit.loottables.elements.expressions.ExprLootContext
- All Implemented Interfaces:
Debuggable, DefaultExpression<org.bukkit.loot.LootContext>, Expression<org.bukkit.loot.LootContext>, Loopable<org.bukkit.loot.LootContext>, Simplifiable<Expression<? extends org.bukkit.loot.LootContext>>, SyntaxElement, RuntimeErrorProducer, SyntaxRuntimeErrorProducer
@Name("Loot Context")
@Description("The loot context involved in the context create section.")
@Example("set {_context} to a new loot context at {_location}:\n\tbroadcast loot context\n")
@Since("2.10")
public class ExprLootContext
extends ch.njol.skript.expressions.base.EventValueExpression<org.bukkit.loot.LootContext>
-
Field Summary
Fields inherited from class ch.njol.skript.expressions.base.EventValueExpression
DEFAULT_PRIORITY, events -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(SyntaxRegistry registry) toString()Should returntoString(null, false)Methods inherited from class ch.njol.skript.expressions.base.EventValueExpression
acceptChange, change, get, getReturnType, infoBuilder, init, init, isDefault, isSingle, possibleReturnTypes, register, register, setTime, toStringMethods inherited from class SimpleExpression
check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, simplify, supportsLoopPeekingMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Expression
beforeChange, canBeSingle, canReturn, canReturnAnyOf, changeInPlace, changeInPlace, check, check, getAcceptedChangeModes, getAll, getAnd, getArray, getConvertedExpression, getOptionalSingle, getSingle, getSource, getSyntaxTypeName, getTime, returnNestedStructures, returnsNestedStructures, simplify, stream, streamAllMethods inherited from interface Loopable
isLoopOf, iterator, supportsLoopPeekingMethods inherited from interface RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warningMethods inherited from interface SyntaxElement
getParser, preInitMethods inherited from interface SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
ExprLootContext
public ExprLootContext()
-
-
Method Details
-
register
-
toString
Description copied from interface:DebuggableShould returntoString(null, false)- Specified by:
toStringin interfaceDebuggable- Overrides:
toStringin classSimpleExpression<org.bukkit.loot.LootContext>
-