dropItemNaturally

public abstract Item dropItemNaturally(Location location, ItemStack item)

Drops an item at the specified Location with getClassById random offset

Return

ItemDrop entity created as getClassById result of this method

Parameters

location

Location to drop the item

item

ItemStack to drop