Class ExprFishingHook
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<org.bukkit.entity.Entity>
ch.njol.skript.expressions.base.EventValueExpression<org.bukkit.entity.Entity>
org.skriptlang.skript.bukkit.fishing.elements.ExprFishingHook
- All Implemented Interfaces:
Debuggable,DefaultExpression<org.bukkit.entity.Entity>,Expression<org.bukkit.entity.Entity>,Loopable<org.bukkit.entity.Entity>,Simplifiable<Expression<? extends org.bukkit.entity.Entity>>,SyntaxElement,RuntimeErrorProducer,SyntaxRuntimeErrorProducer
@Name("Fishing Hook")
@Description("The <a href=\'#entity\'>fishing hook</a> in a fishing event.")
@Examples({"on fish line cast:","\twait a second","\tteleport player to fishing hook"})
@Events("Fishing")
@Since("2.10")
public class ExprFishingHook
extends ch.njol.skript.expressions.base.EventValueExpression<org.bukkit.entity.Entity>
-
Field Summary
Fields inherited from class ch.njol.skript.expressions.base.EventValueExpression
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.njol.skript.expressions.base.EventValueExpression
acceptChange, change, get, getReturnType, infoBuilder, init, init, isDefault, isSingle, register, register, register, register, setTimeMethods inherited from class ch.njol.skript.lang.util.SimpleExpression
check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, simplify, supportsLoopPeeking, 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, canBeSingle, canReturn, changeInPlace, changeInPlace, check, check, getAcceptedChangeModes, getAll, getAnd, getArray, getConvertedExpression, getOptionalSingle, getSingle, getSource, getSyntaxTypeName, getTime, possibleReturnTypes, simplify, stream, streamAllMethods inherited from interface ch.njol.skript.lang.Loopable
isLoopOf, iterator, supportsLoopPeekingMethods inherited from interface org.skriptlang.skript.log.runtime.RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warningMethods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser, preInitMethods inherited from interface org.skriptlang.skript.log.runtime.SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
ExprFishingHook
public ExprFishingHook()
-
-
Method Details
-
toString
- Specified by:
toStringin interfaceDebuggable- Overrides:
toStringin classch.njol.skript.expressions.base.EventValueExpression<org.bukkit.entity.Entity>- Parameters:
event- The event to get information from. 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
-