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.
import crafttweaker.api.item.component.BundleContents;
Implements
BundleContents
implements the following interfaces:
Members
Getter
// BundleContents.isEmpty as boolmyBundleContents.isEmpty
Return Type:
bool
static of(items as List<IItemStack>) as BundleContents
BundleContents.of(myList);
Parameters:
items: List<IItemStack>
Type: List<IItemStack>
Return Type:
BundleContents
Getter
// BundleContents.size as intmyBundleContents.size
Return Type:
int