Class PropExprTitle
java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<Object>
org.skriptlang.skript.lang.properties.PropertyBaseExpression<ExpressionPropertyHandler<?,?>>
org.skriptlang.skript.common.properties.elements.expressions.PropExprTitle
- All Implemented Interfaces:
Debuggable, Expression<Object>, Loopable<Object>, Simplifiable<Expression<? extends Object>>, SyntaxElement, PropertyBaseSyntax<ExpressionPropertyHandler<?,?>>, RuntimeErrorProducer, SyntaxRuntimeErrorProducer
@Name("Title")
@Description("Represents the title of something.\n")
@Example("set title of event-bossbar to \"<red>hello!\"\n") @Example("on inventory click:\n\tif type of event-item is written book:\n\t\tset title of event-item to formatted \"<obf>%random uuid%\"\n\t\tsend \"Your book's title is now forever forgotten..\" to player\n")
@Since("2.16")
@RelatedProperty("title")
public class PropExprTitle
extends PropertyBaseExpression<ExpressionPropertyHandler<?,?>>
-
Field Summary
Fields inherited from class PropertyBaseExpression
expr, properties, property, returnType, returnTypes, useCIP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the property this expression represents.static voidregister(SyntaxRegistry registry) Methods inherited from class PropertyBaseExpression
acceptChange, change, convert, get, getPropertyReturnTypes, getReturnType, init, isSingle, possibleReturnTypes, toStringMethods inherited from class SimpleExpression
check, check, check, getAll, getAnd, getArray, getConvertedExpr, getConvertedExpression, getNode, getSingle, getSource, getTime, isDefault, isLoopOf, iterator, preInit, setTime, setTime, setTime, setTime, setTime, simplify, 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, returnNestedStructures, returnsNestedStructures, stream, streamAllMethods inherited from interface PropertyBaseSyntax
getBadTypesErrorMessage, getPropertyNameMethods inherited from interface RuntimeErrorProducer
error, error, getRuntimeErrorManager, warning, warningMethods inherited from interface SyntaxElement
getParserMethods inherited from interface SyntaxRuntimeErrorProducer
getErrorSource
-
Constructor Details
-
PropExprTitle
public PropExprTitle()
-
-
Method Details
-
register
-
getProperty
Description copied from interface:PropertyBaseSyntaxGets the property this expression represents. This is used to find the appropriate handlers for the expression's input types.- Returns:
- The property this expression represents.
-