java.lang.Object
net.minestom.server.command.builder.arguments.Argument<ItemStack>
net.minestom.server.command.builder.arguments.minecraft.ArgumentItemStack

public class ArgumentItemStack
extends Argument<ItemStack>
Argument which can be used to retrieve an ItemStack from its material and with NBT data.

It is the same type as the one used in the /give command.

Example: diamond_sword{display:{Name:"{\"text\":\"Sword of Power\"}"}}