Skip to main content

spawn_item

Function spawn_item 

Source
pub fn spawn_item(
    dim: impl Arg<String>,
    pos: impl Arg<Point>,
    velocity: impl Arg<Point>,
    item: impl Arg<String>,
    count: impl Arg<u32>,
    snbt: impl Arg<String>,
) -> Option<String>
Expand description

Drops a stack into the world; the item entity’s uuid.

Calls SpawnItem; what no one answers reads as the reply’s default.