Class ExprKeyOfBossBar
- All Implemented Interfaces:
Debuggable, Expression<String>, Loopable<String>, Simplifiable<Expression<? extends String>>, SyntaxElement, Converter<org.bukkit.boss.BossBar, String>, RuntimeErrorProducer, SyntaxRuntimeErrorProducer
@Name("Key Of Boss Bar")
@Description("Returns the key of a keyed boss bar.\nDoes not return anything for normal boss bars.\n")
@Example("broadcast the boss bar key of {_mybar}\n")
@Since("2.16")
public class ExprKeyOfBossBar
extends ch.njol.skript.expressions.base.SimplePropertyExpression<org.bukkit.boss.BossBar, String>
-
Field Summary
Fields inherited from class ch.njol.skript.expressions.base.SimplePropertyExpression
rawExprFields inherited from class ch.njol.skript.expressions.base.PropertyExpression
DEFAULT_PRIORITYFields inherited from interface Converter
ALL_CHAINING, ALLOW_UNSAFE_CASTS, NO_CHAINING, NO_LEFT_CHAINING, NO_RIGHT_CHAINING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringconvert(org.bukkit.boss.BossBar bar) Converts an object using this Converter.protected StringGets the return type of this expression.static voidregister(SyntaxRegistry registry) Methods inherited from class ch.njol.skript.expressions.base.SimplePropertyExpression
get, init, toStringMethods inherited from class ch.njol.skript.expressions.base.PropertyExpression
get, get, getAll, getAnd, getDefaultPatterns, getExpr, getPatterns, infoBuilder, isSingle, register, register, registerDefault, registerDefault, setExpr, simplifyMethods inherited from class SimpleExpression
acceptChange, change, check, check, check, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, setTime, supportsLoopPeeking, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Expression
beforeChange, canBeSingle, canReturn, canReturnAnyOf, changeInPlace, changeInPlace, getAcceptedChangeModes, getOptionalSingle, getSyntaxTypeName, possibleReturnTypes, returnNestedStructures, returnsNestedStructures, stream, streamAllMethods inherited from interface RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warningMethods inherited from interface SyntaxElement
getParserMethods inherited from interface SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
ExprKeyOfBossBar
public ExprKeyOfBossBar()
-
-
Method Details
-
register
-
convert
Description copied from interface:ConverterConverts an object using this Converter. -
getReturnType
Description copied from interface:ExpressionGets the return type of this expression.- Returns:
- A supertype of any objects returned by
Expression.getSingle(Event)and the component type of any arrays returned byExpression.getArray(Event)
-
getPropertyName
-