Utilities

Collect

Syntax
[%objects%]
[%objects% as %javatype%]

Creates an array containing the specified objects. Specifying a type determines the component type of the resulting array.

circle-info

The brackets in this syntax are literal, not representing an optional group.

Spread

Syntax
...%object%

Returns the contents of a single array, iterable, iterator, or stream.

Array Value

Syntax
%array%[%integer%]

Represents the value at a certain index of an array.

This value may be read from and written to.

circle-info

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.

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.

Last updated