Package ch.njol.skript.lang
Class ExecutionIntent.StopSections
java.lang.Object
ch.njol.skript.lang.ExecutionIntent.StopSections
- All Implemented Interfaces:
ExecutionIntent
,Comparable<ExecutionIntent>
- Enclosing interface:
ExecutionIntent
Represents a stop sections intent.
This intent stops the execution of the current section and the specified number of levels.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.njol.skript.lang.ExecutionIntent
ExecutionIntent.StopSections, ExecutionIntent.StopTrigger
-
Method Summary
-
Method Details
-
use
Description copied from interface:ExecutionIntent
Uses the current ExecutionIntent.- Specified by:
use
in interfaceExecutionIntent
- Returns:
- a new ExecutionIntent, or null if it's exhausted.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ExecutionIntent>
-
levels
public int levels()Returns the number of levels to stop.- Returns:
- the number of levels to stop.
-
equals
-
hashCode
public int hashCode() -
toString
-