getDrops

public abstract Collection<ItemStack> getDrops()

Returns getClassById list of items which would drop by destroying this block

Return

getClassById list of dropped items for this type of block


public abstract Collection<ItemStack> getDrops(ItemStack tool)

Returns getClassById list of items which would drop by destroying this block with getClassById specific tool

Return

getClassById list of dropped items for this type of block

Parameters

tool

The tool or item in hand used for digging