new item %mat:MATERIAL% %amt:INT% — Expressions

new item %mat:MATERIAL% %amt:INT%
Item1.0.0

Description

Creates a new ItemStack from a material name with the specified amount.

Examples

set swords to new item diamond_sword 5

All Possible Usages (1)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

new item <mat> <amt>

Related (Item)