Class CondCanRide
java.lang.Object
ch.njol.skript.lang.TriggerItem
ch.njol.skript.lang.Statement
ch.njol.skript.lang.Condition
nl.mtvehicles.core.infrastructure.dependencies.skript.conditions.CondCanRide
- All Implemented Interfaces:
ch.njol.skript.lang.Debuggable
,ch.njol.skript.lang.SyntaxElement
,org.skriptlang.skript.lang.condition.Conditional<org.bukkit.event.Event>
@Name("Condition - Is player can ride a vehicle")
@Description("Check if a player can ride an MTV Vehicle")
@Examples({"if player can ride [mtv] vehicle {_car}:","if {_p} cannot ride [mtv] vehicle {_car}:"})
@Since("2.5.5")
public class CondCanRide
extends ch.njol.skript.lang.Condition
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.njol.skript.lang.Condition
ch.njol.skript.lang.Condition.ConditionType
Nested classes/interfaces inherited from interface org.skriptlang.skript.lang.condition.Conditional
org.skriptlang.skript.lang.condition.Conditional.Operator
-
Field Summary
Fields inherited from class ch.njol.skript.lang.TriggerItem
parent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
check
(org.bukkit.event.Event event) boolean
init
(ch.njol.skript.lang.Expression<?>[] exprs, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult) toString
(@Nullable org.bukkit.event.Event e, boolean d) Methods inherited from class ch.njol.skript.lang.Condition
evaluate, getSyntaxTypeName, isNegated, parse, run, setNegated
Methods inherited from class ch.njol.skript.lang.Statement
parse, parse
Methods inherited from class ch.njol.skript.lang.TriggerItem
debug, executionIntent, getActualNext, getIndentation, getNext, getParent, getTrigger, setNext, setParent, toString, walk, walk
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.skriptlang.skript.lang.condition.Conditional
evaluate, evaluateAnd, evaluateAnd, evaluateAnd, evaluateAnd, evaluateNot, evaluateNot, evaluateOr, evaluateOr, evaluateOr, evaluateOr
Methods inherited from interface ch.njol.skript.lang.Debuggable
toString
Methods inherited from interface ch.njol.skript.lang.SyntaxElement
getParser
-
Constructor Details
-
CondCanRide
public CondCanRide()
-
-
Method Details
-
init
public boolean init(ch.njol.skript.lang.Expression<?>[] exprs, int matchedPattern, ch.njol.util.Kleenean isDelayed, ch.njol.skript.lang.SkriptParser.ParseResult parseResult) -
check
public boolean check(org.bukkit.event.Event event) - Specified by:
check
in classch.njol.skript.lang.Condition
-
toString
-