Item Attributes

leaveContainerItem

This attribute defines if the item's container item remains in the crafting grid or moves to the inventory when the item is used in a crafting recipe.

Examples

// container item remains in the crafting grid
leaveContainerItem = true;

// Default value
// container item moves to the inventory
leaveContainerItem = false;