Item Attributes

containerItem

This attribute defines the item's container item. The container item remains after the item is used for crafting. For example, the container item of a water bucket is an empty bucket.

Examples

// The container item is a stack of two wooden planks
containerItem = "5 2";

// The container item is a stone blocks
containerItem = "1";