Item Material Id (Expression) — Skript
Addon: Skript · Category: Expression
Syntax
[the] material id of %items%Description
Allows you to get the material id (namespace) of an item.
Examples
send material id of wooden shovel to player # prints minecraft:wooden_shovel