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>
  • Constructor Details

    • ExprFishingHook

      public ExprFishingHook()
  • Method Details

    • toString

      public String toString(@Nullable @Nullable org.bukkit.event.Event event, boolean debug)
      Specified by:
      toString in interface Debuggable
      Overrides:
      toString in class ch.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