ChargedProjectiles
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Operators
in(item as Item) as bool
Checks if the ChargedProjectiles contains the given item.
Parameters:
Return Type:
bool
Members
contains(item as Item) as bool
Checks if the ChargedProjectiles contains the given item.
Returns: Whether the ChargedProjectiles contains the given item.
Parameters:
Return Type:
bool
Getter
Checks if the ChargedProjectiles is empty.
Return Type:
bool
Getter
Gets the items of the ChargedProjectiles.
Return Type:
List<IItemStack>
static of(stack as IItemStack) as ChargedProjectiles
Creates a new ChargedProjectiles with the given item.
Returns: The new ChargedProjectiles.
Parameters:
Return Type:
ChargedProjectiles
static of(stacks as List<IItemStack>) as ChargedProjectiles
Creates a new ChargedProjectiles with the given items.
Returns: The new ChargedProjectiles.
Parameters:
Return Type:
ChargedProjectiles