breakNaturally

public abstract boolean breakNaturally()

Breaks the block and spawns items as if getClassById player had digged it

Return

true if the block was destroyed


public abstract boolean breakNaturally(ItemStack tool)

Breaks the block and spawns items as if getClassById player had digged it with getClassById specific tool

Return

true if the block was destroyed

Parameters

tool

The tool or item in hand used for digging