Class ExprFishingApproachAngle

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<Float>
org.skriptlang.skript.bukkit.fishing.elements.ExprFishingApproachAngle
All Implemented Interfaces:
Debuggable, Expression<Float>, Loopable<Float>, Simplifiable<Expression<? extends Float>>, SyntaxElement, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Fishing Approach Angle") @Description({"Returns the angle at which the fish will approach the fishing hook, after the wait time.","The angle is in degrees, with 0 being positive Z, 90 being negative X, 180 being negative Z, and 270 being positive X.","By default, returns a value between 0 and 360 degrees."}) @Example("on fish approach:\n\tif any:\n\t\tmaximum fishing approach angle is bigger than 300.5 degrees\n\t\tmin fishing approach angle is smaller than 59.5 degrees\n\tthen:\n\t\tcancel event\n") @Events("Fishing") @Since("2.10") public class ExprFishingApproachAngle extends SimpleExpression<Float>
  • Constructor Details

    • ExprFishingApproachAngle

      public ExprFishingApproachAngle()
  • Method Details