MutableBundleContents
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.MutableBundleContents;
Members
clearItems() as Mutable
static of(contents as BundleContents) as Mutable
MutableBundleContents.of(myBundleContents);
Parameters:
contents: BundleContents
Type: BundleContents
Return Type:
MutableBundleContents
removeOne() as IItemStack
toImmutable() as BundleContents
implicit as BundleContents
// Mutable as BundleContentsmyMutable as BundleContents
Return Type:
BundleContents