World / Server paper/drop_material

Drop Material

Drops a material at a world location.

Note: Connect the name output of a Material node to the material input for a validated material name.

Inputs

NameTypeOptionalDescription
exec exec Incoming execution.
location location Drop location.
item item_stack ItemStack to drop (takes priority over material).
material string Material name to drop (used when no item is connected).
amount number Stack size (used when no item is connected).

Outputs

NameTypeDescription
exec exec Continues after dropping.

Properties

KeyTypeDefaultDescription
material string "minecraft:diamond" Material
amount number 1 Amount