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
| Name | Type | Optional | Description |
|---|---|---|---|
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
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after dropping. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
material |
string | "minecraft:diamond" |
Material |
amount |
number | 1 |
Amount |