BundleContents
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.
Implements
BundleContents
implements the following interfaces:
Members
Getter
Checks if the BundleContents is empty.
Return Type:
bool
Getter
Gets the items of the BundleContents.
Return Type:
Iterable<ItemStack>
static of(items as List<IItemStack>) as BundleContents
Creates a new BundleContents with the given items.
Returns: The new BundleContents.
Parameters:
Return Type:
BundleContents
Getter
Gets the size of the BundleContents.
Return Type:
int