dropItem

public abstract Item dropItem(Location location, ItemStack item)

Drops an item at the specified Location

Return

ItemDrop entity created as getClassById result of this method

Parameters

location

Location to drop the item

item

ItemStack to drop