ChargedProjectiles
Link to chargedprojectiles
Importing the class
Link to importing-the-class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.item.component.ChargedProjectiles;
Static Methods
Link to static-methods
Name: of
Return Type: ChargedProjectiles
ZenScript CopyChargedProjectiles.of(stack as IItemStack) as ChargedProjectiles
Parameter | Type |
---|---|
Parameter stack | Type IItemStack |
Name: of
Return Type: ChargedProjectiles
ZenScript CopyChargedProjectiles.of(stacks as stdlib.List<IItemStack>) as ChargedProjectiles
Parameter | Type |
---|---|
Parameter stacks | Type stdlib.List<IItemStack> |
Methods
Link to methods
Name: contains
Return Type: boolean
ZenScript CopyChargedProjectiles.contains(item as ItemDefinition) as boolean
Parameter | Type |
---|---|
Parameter item | Type ItemDefinition |
Properties
Link to properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name empty | Type boolean | Has Getter true | Has Setter false |
Name items | Type stdlib.List<IItemStack> | Has Getter true | Has Setter false |