canBreakAsync

fun canBreakAsync(tileEntity: TileEntity, item: ItemStack?, pos: BlockPos): CompletableFuture<Boolean>

Checks if that tileEntity can break a block at that pos using that item.


fun canBreakAsync(player: OfflinePlayer, item: ItemStack?, pos: BlockPos): CompletableFuture<Boolean>

Checks if that player can break a block at that pos using that item.