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>
,SyntaxElement
@Name("Fishing Hook")
@Description("The <a href=\'classes.html#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
-
Method Summary
Methods inherited from class ch.njol.skript.expressions.base.EventValueExpression
acceptChange, change, get, getReturnType, init, init, isDefault, isSingle, register, register, setTime
Methods 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, setTime, simplify, supportsLoopPeeking, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.njol.skript.lang.Debuggable
toString
Methods 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
Methods inherited from interface ch.njol.skript.lang.Loopable
isLoopOf, iterator, supportsLoopPeeking
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
ExprFishingHook
public ExprFishingHook()
-
-
Method Details
-
toString
- Specified by:
toString
in interfaceDebuggable
- Overrides:
toString
in 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
-