Utilities
Collect
Creates an array containing the specified objects. Specifying a type determines the component type of the resulting array.
The brackets in this syntax are literal, not representing an optional group.
Spread
Returns the contents of a single array, iterable, iterator, or stream.
Array Creation
Creates an array of the given type and size. The type may be primitive, which doesn't require an import.
The brackets in this syntax are literal, not representing an optional group.
Array Value
Represents the value at a certain index of an array.
This value may be read from and written to.
The brackets in this syntax are literal, not representing an optional group.
Null
Represents null
in Java. This is different from Skript's <none>
.
Bits
Represents a subset of bits from a number.
This value may be read from and written to.
Raw Expression
Returns the underlying object of an expression.
When used with the expression-expression, you can set it to a value, which will change the input value from that argument. This can be used to store data in variables in the calling trigger.
Members
Returns a list of the fields, methods, or constructors of an object, including their modifiers and parameters.
If you need a list of field or method names without modifier or parameter details, see Member Names.
Member Names
Returns a list of the fields or methods of an object.
Is Instance
Checks whether objects are instances of the given java types.
Class reference
Returns a reference to the class from the given java type. Returns an object of type java.lang.Class
. This expression also supports primitive types, which doesn't require an import.
Plugin instance
Returns the instance of the given plugin (either the name as a string, or the plugin class).
Last updated