Class ExprRegion
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<T>
ch.njol.skript.expressions.base.EventValueExpression<Region>
ch.njol.skript.hooks.regions.expressions.ExprRegion
- All Implemented Interfaces:
Debuggable,DefaultExpression<Region>,Expression<Region>,SyntaxElement
@Name("Region")
@Description({"The <a href=\'classes.html#region\'>region</a> involved in an event.","This expression requires a supported regions plugin to be installed."})
@Examples({"on region enter:","\tregion is {forbidden region}","\tcancel the event"})
@Since("2.1")
@RequiredPlugins("Supported regions plugin")
public class ExprRegion
extends EventValueExpression<Region>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.njol.skript.expressions.base.EventValueExpression
acceptChange, change, get, getReturnType, init, init, isDefault, isSingle, setTimeMethods inherited from class ch.njol.skript.lang.util.SimpleExpression
check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getSingle, getSource, getTime, isLoopOf, iterator, setTime, setTime, setTime, simplify, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.njol.skript.lang.Debuggable
toStringMethods inherited from interface ch.njol.skript.lang.Expression
beforeChange, check, check, getAll, getAnd, getArray, getConvertedExpression, getSingle, getSource, getTime, isLoopOf, iterator, simplify, streamMethods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
ExprRegion
public ExprRegion()
-
-
Method Details
-
toString
- Specified by:
toStringin interfaceDebuggable- Overrides:
toStringin classEventValueExpression<Region>- Parameters:
e- The event to get information to. This is always null if debug == false.debug- If true this should print more information, if false this should print what is shown to the end user- Returns:
- String representation of this object
-