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.expressions.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.")
@Example("on fish line cast:\n\twait a second\n\tteleport player to fishing hook\n")
@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, events -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(SyntaxRegistry registry) toString(@Nullable org.bukkit.event.Event event, boolean debug) Methods inherited from class ch.njol.skript.expressions.base.EventValueExpression
acceptChange, change, get, getReturnType, infoBuilder, init, init, isDefault, isSingle, possibleReturnTypes, register, register, setTimeMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Debuggable
toStringMethods 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
-
ExprFishingHook
public ExprFishingHook()
-
-
Method Details
-
register
-
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
-