breakBlock

Breaks this block using the given ctx and returns the drops.

This method works for vanilla blocks, blocks from Nova and blocks from custom item services. Items will not be dropped in the world, but instead returned as a list. The drops depend on the source and tool defined in the ctx. If the source is a player, it will be as if the player broke the block. The tool item stack will not be damaged.

Parameters

ctx

The Context to be used